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

Can't determine state of permissions that are granted by default but can be toggled in AppOps #133

Open
TheRealMystic opened this issue Aug 2, 2022 · 3 comments
Labels
bug Something isn't working help/discussion wanted Extra attention is needed
Milestone

Comments

@TheRealMystic
Copy link
Collaborator

TheRealMystic commented Aug 2, 2022

Apps having access to storage (WRITE_EXTERNAL_STORAGE), including 'All Files access' (MANAGE_EXTERNAL_STORAGE) are showing these permissions as having been denied to them (in the app).

Likewise, permissions that are actually denied, such as WiFi Control (CHANGE_WIFI_STATE) are showing as having been granted to the app.

Due to this bug, if we view these permissions (i.e. Permission Details), apps are listed incorrectly, i.e. apps having access to that permission are showing as 'denied', and vice-versa.

@TheRealMystic TheRealMystic added the bug Something isn't working label Aug 2, 2022
@d4rken
Copy link
Member

d4rken commented Aug 2, 2022

Likewise, permissions that are actually denied, such as WiFi Control (CHANGE_WIFI_STATE) are showing as having been granted to the app.

This is granted at install time, I don't think it can show as denied.

including 'All Files access' (MANAGE_EXTERNAL_STORAGE) are showing these permissions as having been denied to them (in the app).

I could reproduce this, but this is what the system gives us 🤔

@d4rken d4rken added the help/discussion wanted Extra attention is needed label Aug 2, 2022
@d4rken d4rken added this to the Next Tasks milestone Aug 2, 2022
@TheRealMystic
Copy link
Collaborator Author

TheRealMystic commented Aug 2, 2022

This is granted at install time, I don't think it can show as denied.

App

System

It has to show to the current status of permission: Granted or Denied.

@d4rken
Copy link
Member

d4rken commented Aug 2, 2022

This might be a limitation of the system API for permissions that are granted by default, but can be toggled.

If anyone knows a trick? I don't 🤷

@d4rken d4rken changed the title Files and media Can't determine state of permissions that are granted by default but can be toggled in AppOps Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help/discussion wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants