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

Setup: Gracefully handle QUERY_ALL_PACKAGES permission being optional on some devices #1033

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Feb 25, 2024

Previous we always assumed that QUERY_ALL_PACKAGES was granted (which it should, by default), but Samsung seems to be doing "Just Samsung things ™️" and this may not be the case on some of Samsungs Android 14 ROMs. So let's treat it as potentially optional and catch the error, don't crash, and guide the user to the setup.

Closes #1015

…e devices

Previous we always assumed that QUERY_ALL_PACKAGES was granted (which it should, by default),
but Samsung seems to be doing "Just Samsung things ™️" and this may not be the case on some of Samsungs Android 14 ROMs.
So let's treat it as potentially optional and catch the error, don't crash, and guide the user to the setup.

Closes #1015
@d4rken d4rken added enhancement New feature, request, improvement or optimization c: Setup Device specific A device specific issue or behavior. c: PKGS Package related operations. labels Feb 25, 2024
@d4rken
Copy link
Member Author

d4rken commented Feb 25, 2024

Screenshot from 2024-02-25 16-41-07

@d4rken d4rken changed the title Setup: Gracefully handle QUERY_ALL_PACKAGES permission missing on some devices Setup: Gracefully handle QUERY_ALL_PACKAGES permission being optional on some devices Feb 25, 2024
@d4rken d4rken marked this pull request as ready for review February 25, 2024 20:30
@d4rken d4rken merged commit 41726e1 into main Feb 25, 2024
16 checks passed
@d4rken d4rken deleted the optional_query_pkgs_permission branch February 25, 2024 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: PKGS Package related operations. c: Setup Device specific A device specific issue or behavior. enhancement New feature, request, improvement or optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

QUERY_ALL_PACKAGES not granted on Samsung (Android 14)
1 participant