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

Commit ab4b227c authored by Tom Chan's avatar Tom Chan
Browse files

Add wearable sensing permission to Shell.

This change enables CTS tests to call APIs protected by this
signature|privileged permission.

Test: CTS tests can call WearableSensingManager#provideDataStream after
adopting shell permission identity.
Bug: 301427767

Change-Id: I95a01f1ae514ebe084263cfe613230e81cf73b8f
parent fbfe3166
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -518,6 +518,8 @@ applications that come with the platform
        <permission name="android.permission.ACCESS_BROADCAST_RADIO"/>
        <!-- Permission required for CTS test - CtsAmbientContextServiceTestCases -->
        <permission name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT"/>
        <!-- Permission required for CTS test - CtsWearableSensingServiceTestCases -->
        <permission name="android.permission.MANAGE_WEARABLE_SENSING_SERVICE"/>
        <!-- Permission required for CTS test - CtsTelephonyProviderTestCases -->
        <permission name="android.permission.WRITE_APN_SETTINGS"/>
        <!-- Permission required for GTS test - GtsStatsdHostTestCases -->
+3 −0
Original line number Diff line number Diff line
@@ -685,6 +685,9 @@
    <!-- Permission required for CTS test - CtsAmbientContextDetectionServiceDeviceTest -->
    <uses-permission android:name="android.permission.ACCESS_AMBIENT_CONTEXT_EVENT" />

    <!-- Permission required for CTS test - CtsWearableSensingServiceTestCases -->
    <uses-permission android:name="android.permission.MANAGE_WEARABLE_SENSING_SERVICE" />

    <!-- Permission required for CTS test - CallAudioInterceptionTest -->
    <uses-permission android:name="android.permission.CALL_AUDIO_INTERCEPTION" />