Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PendingIntent for Android 12 #1

Closed

Conversation

penguin359
Copy link

Starting with API level 31, a flag for mutable or immutable intent is now required or an exception will be generated crashing the app. This fixes a crash seen in PR ge0rg#382

@penguin359
Copy link
Author

I did try testing it in the emulator with USB passthrough to verify it doesn't break on older Android releases, but it seems that the Android images provided with the SDK don't include support for access USB devices that are attached. The emulator reported that the AIOC device was successfully passed in and it disappeared from my host, but APRSdroid kept reporting that no USB devices were found. I was able to run it under API level 19, but I wasn't able to trigger the code path where it actually attaches inside the emulator.

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.

1 participant