Commit 48ce03f9 authored by Romain Hunault's avatar Romain Hunault

Merge branch 'default-permissions' into 'v1-oreo'

Default permissions - maps and contacts

See merge request !33
parents e955138a 2a11569b
......@@ -96,6 +96,10 @@ PRODUCT_COPY_FILES += \
vendor/lineage/config/permissions/org.lineageos.android.xml:system/etc/permissions/org.lineageos.android.xml \
vendor/lineage/config/permissions/privapp-permissions-lineage.xml:system/etc/permissions/privapp-permissions-lineage.xml
# Pre-granted permissions
PRODUCT_COPY_FILES += \
vendor/lineage/config/permissions/eos-permissions.xml:system/etc/default-permissions/eos-permissions.xml
# Include Lineage audio files
include vendor/lineage/config/lineage_audio.mk
......
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<!--
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. Granting these permissions could prevent issues on
some ROMs or non-clean installations.
-->
<exceptions>
<exception package="com.android.contacts">
<!-- Calendar -->
<permission name="android.permission.READ_CALENDAR" fixed="false"/>
<permission name="android.permission.WRITE_CALENDAR" fixed="false"/>
<!-- Contacts -->
<permission name="android.permission.READ_CONTACTS" fixed="false"/>
<permission name="android.permission.WRITE_CONTACTS" fixed="false"/>
<permission name="android.permission.GET_ACCOUNTS" fixed="false"/>
<!-- Phone -->
<permission name="android.permission.READ_PHONE_STATE" fixed="false"/>
<permission name="android.permission.CALL_PHONE" fixed="false"/>
<permission name="android.permission.READ_CALL_LOG" fixed="false"/>
<permission name="android.permission.WRITE_CALL_LOG" fixed="false"/>
<permission name="android.permission.ADD_VOICEMAIL" fixed="false"/>
<permission name="android.permission.USE_SIP" fixed="false"/>
<permission name="android.permission.PROCESS_OUTGOING_CALLS" fixed="false"/>
<!-- SMS -->
<permission name="android.permission.SEND_SMS " fixed="false"/>
<permission name="android.permission.RECEIVE_SMS" fixed="false"/>
<permission name="android.permission.READ_SMS" fixed="false"/>
<permission name="android.permission.RECEIVE_WAP_PUSH" fixed="false"/>
<permission name="android.permission.RECEIVE_MMS" fixed="false"/>
<permission name="android.permission.READ_CELL_BROADCASTS" fixed="false"/>
<!-- Storage -->
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
</exception>
<exception package="com.generalmagic.magicearth">
<!-- Location -->
<permission name="android.permission.ACCESS_FINE_LOCATION" fixed="false"/>
<permission name="android.permission.ACCESS_COARSE_LOCATION" fixed="false"/>
</exception>
</exceptions>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment