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

Commit 1fd6f62d authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix issue with Telecom CTS tests.

A Telecom CTS test adopts shell permission and registers a phone state
listener which listens for emergency calls.  The telecom CTS tests
adopt shell identity to get READ_ACTIVE_EMERGENCY_SESSION.  However,
it was neglected to add a pre-grant to shell for the emergency session
permission.

Test: Run CTS tests to observe presence of security exception.
Bug: 169603138
Change-Id: If8304a741e93bfd60b553239452deeaefddcc04a
parent 233aa160
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -363,6 +363,8 @@ applications that come with the platform
        <!-- Needed for test only -->
        <permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
        <permission name="android.permission.POWER_SAVER" />
        <!-- Needed for CTS tests -->
        <permission name="android.permission.READ_ACTIVE_EMERGENCY_SESSION"/>
        <permission name="android.permission.READ_CARRIER_APP_INFO"/>
        <permission name="android.permission.READ_FRAME_BUFFER"/>
        <permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>