microg-installer/system/etc/default-permissions/permissions-com.google.android.gms.xml
2025-11-15 11:15:48 +01:00

28 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2019 chris42 (based on work of ale5k and nanolx)
SPDX-License-Identifer: GPL-3.0-or-later
This file contains permissions to be granted by default.
Default permissions are granted to special platform components and to apps that are approved to get default grants.
The special components are apps that are expected to work out-of-the-box as they provide core use cases.
Fixed permissions cannot be controlled by the user and need a special approval.
Typically these are to ensure either legally mandated functions or the app is considered a part of the OS.
Granting these permissions could prevent issues on some ROMs or on non-clean installations.
-->
<exceptions>
<exception package="com.google.android.gms">
<!-- Phone -->
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
<permission name="android.permission.RECEIVE_SMS" fixed="false" whitelisted="true" />
<!-- Account -->
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
<permission name="android.permission.GET_ACCOUNTS" fixed="false"/>
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
<!-- Storage -->
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
</exceptions>