-
Notifications
You must be signed in to change notification settings - Fork 564
Closed
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).bugComponent does not function as intended.Component does not function as intended.
Milestone
Description
Android framework version
net8.0-android
Affected platform version
VS2022 17.10.1
Description
The enum Android.App.ApplicationExitInfoReason contains value Other but it has the incorrect numeric value.
Defined with value 10:
[IntDefinition("Android.App.ApplicationExitInfo.ReasonOther", JniField = "android/app/ApplicationExitInfo.REASON_OTHER"), SupportedOSPlatform("android30.0")]
Other = 10, // 0x0000000A
which is duplicate with:
[IntDefinition("Android.App.ApplicationExitInfo.ReasonUserRequested", JniField = "android/app/ApplicationExitInfo.REASON_USER_REQUESTED"), SupportedOSPlatform("android30.0")]
UserRequested = 10, // 0x0000000A
According to Android documentation it should be value 13
We noticed this we have a lot of ApplicationExitInfo records with value '13' instead of a pretty enum name.
Metadata
Metadata
Assignees
Labels
Area: Mono.AndroidIssues with the Android API binding (Mono.Android.dll).Issues with the Android API binding (Mono.Android.dll).bugComponent does not function as intended.Component does not function as intended.