Skip to content

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

Merged
d4rken merged 2 commits into
mainfrom
optional_query_pkgs_permission
Feb 25, 2024
Merged

Setup: Gracefully handle QUERY_ALL_PACKAGES permission being optional on some devices#1033
d4rken merged 2 commits into
mainfrom
optional_query_pkgs_permission

Conversation

@d4rken

@d4rken d4rken commented Feb 25, 2024

Copy link
Copy Markdown
Member

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

d4rken commented Feb 25, 2024

Copy link
Copy Markdown
Member Author

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
@d4rken
d4rken deleted the optional_query_pkgs_permission branch February 25, 2024 21:21
@d4rken d4rken added the ROM: OneUI Samsung label May 11, 2025
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 ROM: OneUI Samsung

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QUERY_ALL_PACKAGES not granted on Samsung (Android 14)

1 participant