summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/AndroidManifest.xml
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2015-09-03 17:57:01 +0100
committerMichael Wright <michaelwr@google.com>2015-10-12 15:21:37 +0100
commit9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb (patch)
treeccee5b1af2c31841fec6fa3cbce9a3aa277549eb /packages/SystemUI/AndroidManifest.xml
parent4e4d59eeef86fa8560d35c00168869b0a066f962 (diff)
downloadframeworks_base-9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb.zip
frameworks_base-9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb.tar.gz
frameworks_base-9209c9cd9a6f779d0d9d86f9b2e368df564fa6bb.tar.bz2
Add SystemUI component to watch for keyboard attachment.
Add a new SystemUI component to watch for keyboard attachment / detachment. If the config specifies the name of a keyboard that is packaged with the device, then SystemUI will ask the user if they would like to enable BT (if disabled) and then attempt to pair to the device. Bug: 22876536 Change-Id: I786db35524d49706d5e61d8b8bc71194d50113f3
Diffstat (limited to 'packages/SystemUI/AndroidManifest.xml')
-rw-r--r--packages/SystemUI/AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml
index 372fa03..80f4d4c 100644
--- a/packages/SystemUI/AndroidManifest.xml
+++ b/packages/SystemUI/AndroidManifest.xml
@@ -127,6 +127,9 @@
<!-- Assist -->
<uses-permission android:name="android.permission.ACCESS_VOICE_INTERACTION_SERVICE" />
+ <!-- Listen for keyboard attachment / detachment -->
+ <uses-permission android:name="android.permission.TABLET_MODE" />
+
<!-- Self permission for internal broadcasts. -->
<permission android:name="com.android.systemui.permission.SELF"
android:protectionLevel="signature" />