Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbf96ab5 authored by Romain Hunault's avatar Romain Hunault 🚴🏻
Browse files

Merge branch 'issue-1050' into 'v1-pie'

Grant permission for Maps by default

See merge request !37
parents 97ec50dd ead354b4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -91,6 +91,11 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
    vendor/lineage/config/permissions/lineage-power-whitelist.xml:system/etc/sysconfig/lineage-power-whitelist.xml

# Pre-granted eos-permissions
PRODUCT_COPY_FILES += \
    vendor/lineage/config/permissions/eos-permissions.xml:system/etc/default-permissions/eos-permissions.xml


# Include AOSP audio files
include vendor/lineage/config/aosp_audio.mk

+53 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 The eOS Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<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>