Loading config/common.mk +5 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,11 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ vendor/cm/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml # Pre-granted permissions PRODUCT_COPY_FILES += \ vendor/cm/config/permissions/eos-permissions.xml:system/etc/default-permissions/eos-permissions.xml # Include CM audio files include vendor/cm/config/cm_audio.mk Loading config/permissions/eos-permissions.xml 0 → 100644 +54 −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> Loading
config/common.mk +5 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,11 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ vendor/cm/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml # Pre-granted permissions PRODUCT_COPY_FILES += \ vendor/cm/config/permissions/eos-permissions.xml:system/etc/default-permissions/eos-permissions.xml # Include CM audio files include vendor/cm/config/cm_audio.mk Loading
config/permissions/eos-permissions.xml 0 → 100644 +54 −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>