summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Billy Chi <billychi@google.com> 2018-05-22 18:09:39 +0800
committer Billy Chi <billychi@google.com> 2018-06-20 12:19:19 +0800
commit3f523d2bd34f67daf092044b0b9d9f40f8290396 (patch)
treef6c1d6a69497f1b3d96d2917b689651ead66ae8c
parentacda839b9e3fa12d0f0b40ffd8ec3708ad0a6038 (diff)
Define a permission to read emergency info name
Define com.android.emergency.permission.READ_EMERGENCY_INFO_NAME permission for an application to read emergency info name. Test: Build pass. Bug: 80406149 Change-Id: I85ec6cc857efcc06e95dac53ab293798f97e4e4f
-rw-r--r--core/res/AndroidManifest.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index e33ecb89d9dd..d4a166038e8e 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -3989,6 +3989,11 @@
<permission android:name="android.permission.DISABLE_HIDDEN_API_CHECKS"
android:protectionLevel="signature" />
+ <!-- Allows an application to read emergency info name.
+ @hide <p>Not for use by third-party applications. -->
+ <permission android:name="com.android.emergency.permission.READ_EMERGENCY_INFO_NAME"
+ android:protectionLevel="signature" />
+
<application android:process="system"
android:persistent="true"
android:hasCode="false"