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

QUESTION: Is there an explanation of /system/etc/default-permissions/? #518

Closed
ale5000-git opened this issue Jul 23, 2017 · 4 comments
Closed

Comments

@ale5000-git
Copy link

ale5000-git commented Jul 23, 2017

Hi,
is there an explanation of /system/etc/default-permissions/?

I would like to know if possible how it exactly work and when it is used by the ROM.

@jawz101
Copy link

jawz101 commented Jan 4, 2018

I assume it's what permissions get granted when you click the reset permissions button.

@ale5000-git
Copy link
Author

Thanks for the reply but I meant a technical explanation of the format and of what can be used.
I want to know exactly instead of guessing it from existing files.

@mikalackis
Copy link

This is the list of permissions that are granted by the system to various apps when the ROM boots up so that they can work out of the box. Thats how google apps work as soon as you turn on your phone.

There is a comment explaining this here: https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/default-permissions.xml

Also, check this out, this is changed a bit in 8.0:
https://source.android.com/devices/tech/config/perms-whitelist

@ale5000-git
Copy link
Author

ale5000-git commented Jan 5, 2018

Thanks for the reply but I have some doubts:

  • Does the xml need to list only permissions that are asked at runtime or all permissions needed by the app?
  • Also if in the xml it contain a permission not supported by the ROM does it only ignore it or there can be problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants