Files
frameworks_base/data/etc/com.android.emergency.xml
Fan Zhang e7ce67f421 Cherry-pick I111dbda3418edf4fcf34aa26f39dc6ce662f2e5d
Pre-grant START_ACTIVITIES_FROM_BACKGROUND to emergency app

The emergency app needs this permission to start foreground service
after sdk 31.

Fix: 172364084
Test: manual
Change-Id: I111dbda3418edf4fcf34aa26f39dc6ce662f2e5d
(cherry picked from commit fb001c98ee)
2021-01-27 18:56:19 +00:00

25 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2019 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License
-->
<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"/>
<permission name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"/>
</privapp-permissions>
</permissions>