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

Commit 798e9614 authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Declare android.permission.READ_CONTACTS for Telecom.

Although not strictly required in the manifest due to the fact Telecom
runs as part of the system server, explicit definition of the permission
here provides ongoing documentation regarding which permissions are
used by the Telecom framework.

Test: Build, run telecom unit tests
Bug: 215661438
Change-Id: I35b27964ff7251563ed9ca640d26a50b14d4c783
parent b94c50ec
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -45,6 +45,10 @@
    <uses-permission android:name="android.permission.MODIFY_AUDIO_ROUTING"/>
    <uses-permission android:name="android.permission.MODIFY_PHONE_STATE"/>
    <uses-permission android:name="android.permission.READ_CALL_LOG"/>
    <!-- Required to check for direct to voicemail, to load custom ringtones for incoming calls
        which are specified on a per contact basis, and also to determine user preferred
        PhoneAccountHandles for outgoing calls. -->
    <uses-permission android:name="android.permission.READ_CONTACTS"/>
    <uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_PROJECTION_STATE"/>