Add permission whitelist for EmergencyInfo app.

This is the "Emergency Info" screen available from the lock screen.
It requires the CALL_PRIVILEGED permission in order for it to be able to
place emergency calls.  This can occur if a user adds an emergency number
to their emergency contacts.

Test: make checkbuild
Bug: 76086838
Change-Id: I76e8318c5c05bbbbdf02d2c6951f742c3bd67ea6
This commit is contained in:
Tyler Gunn
2018-04-11 11:05:32 -07:00
parent 76f64641bb
commit f1e7cf499b

View File

@@ -56,6 +56,8 @@ applications that come with the platform
</privapp-permissions>
<privapp-permissions package="com.android.emergency">
<!-- Required to place emergency calls from emergency info screen. -->
<permission name="android.permission.CALL_PRIVILEGED"/>
<permission name="android.permission.MANAGE_USERS"/>
</privapp-permissions>