close
Skip to content

Fix incorrect hard-coded value for PendingIntentFlags.Mutable#64

Merged
anotherlab merged 1 commit into
anotherlab:mainfrom
pshbot:main
Feb 5, 2025
Merged

Fix incorrect hard-coded value for PendingIntentFlags.Mutable#64
anotherlab merged 1 commit into
anotherlab:mainfrom
pshbot:main

Conversation

@pshbot
Copy link
Copy Markdown
Contributor

@pshbot pshbot commented Nov 19, 2024

There was a bug in UsbManagerExtensions.cs when not NET6_0_OR_GREATER. Looks like a copy/paste error.

Line 36 is supposed to be equivalent to Line 34.

The value 0.33554432 was being cast to the enum type Android.App.PendingIntentFlags. It is supposed to be the value 33554432.

image

@anotherlab anotherlab merged commit 05110fb into anotherlab:main Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants