If you install the application as the default browser or mail client, you probably trust it with your data. However, you still have to manually grant him permission for everything. Starting with Android Q, applications that are installed as standard will automatically get permissions based on what they are typical of. based on well-understood use cases. "There are seven roles:
- ROLE_BROWSER : programs installed as a system browser become web requests requests.
- ROLE_DIALER outgoing calls / call logs.
- ROLE_SMS : application SMS by default can send and receive text messages (shaker, I know) and read contacts.
- ROLE_HOME . And does not have special permissions.
- ROLE_MUSIC : The default music program has full control over files in the Music folder in the internal memory, even files created by other programs.
- ROLE_GALLERY : application For photos, the default file has full access to files in the Photos and Videos media directory, including files created by other programs.
- ROLE_EMERGENCY : This is only mentioned in the documentation for RoleManager, and there is no information about what it is assigned or what permissions it provides. Android Q allows users to set the default programs for emergency information, so this is probably a role associated with this default value. Roles should reduce the number of requests for permissions for users and more predictable functionality for developers.
- Developers Android (1