diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-05-20 12:57:43 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-05-23 12:28:04 -0700 |
commit | 936f7e26cff0c4893a75ef18757efda0bd8d91df (patch) | |
tree | 500587b8a1b7a1af6f07f9f7263ce3bdc8c59690 /core/res | |
parent | 4018231a6ccc45824a7d0cff5186e379f1926fef (diff) | |
download | frameworks_base-936f7e26cff0c4893a75ef18757efda0bd8d91df.zip frameworks_base-936f7e26cff0c4893a75ef18757efda0bd8d91df.tar.gz frameworks_base-936f7e26cff0c4893a75ef18757efda0bd8d91df.tar.bz2 |
fw: Repurpose PREVENT_POWER_KEY for preventing multiple system keys.
Allows applications like camera, and various testing applications,
to intercept certain system keys to verify behavior or leverage it
in creative ways.
Limited to signature/privileged.
Change-Id: Iacd8735af2aabafbf1fc062d8c565b7102dc6865
TICKET: FEIJ-522
Diffstat (limited to 'core/res')
-rw-r--r-- | core/res/AndroidManifest.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index a6de699..ea0e39c 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1239,10 +1239,10 @@ <permission android:name="android.permission.NOTIFY_PENDING_SYSTEM_UPDATE" android:protectionLevel="signature|privileged" /> - <!-- Allows an application to override the power key action + <!-- Allows an application to override the system key actions @hide <p>Not for use by third-party applications. --> - <permission android:name="android.permission.PREVENT_POWER_KEY" + <permission android:name="android.permission.PREVENT_SYSTEM_KEYS" android:protectionLevel="signature|privileged" /> <!-- =========================================== --> |