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
This commit is contained in:
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user