summaryrefslogtreecommitdiffstats
path: root/services/tests/servicestests
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-05-16 15:57:10 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-05-16 15:57:15 -0700
commit53e184d34e7c5b1a65c74fac55f9a635d8131dda (patch)
treead730599bf1fb5e1465d4e4f0ff57eb35f8835a6 /services/tests/servicestests
parent6387c8a9cb52e6b7bb1a0fb40ee3b66c00ad6697 (diff)
downloadframeworks_base-53e184d34e7c5b1a65c74fac55f9a635d8131dda.zip
frameworks_base-53e184d34e7c5b1a65c74fac55f9a635d8131dda.tar.gz
frameworks_base-53e184d34e7c5b1a65c74fac55f9a635d8131dda.tar.bz2
Accessibility service needs to request permission to be bound to.
1. Every accessibility services targeting JellyBean or higher has to request a special permission for the system to bind to it. Change-Id: I6e579326bdf3597f148d6c67317455701ec8af68
Diffstat (limited to 'services/tests/servicestests')
-rw-r--r--services/tests/servicestests/AndroidManifest.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/services/tests/servicestests/AndroidManifest.xml b/services/tests/servicestests/AndroidManifest.xml
index cc3c328..3f66de6 100644
--- a/services/tests/servicestests/AndroidManifest.xml
+++ b/services/tests/servicestests/AndroidManifest.xml
@@ -37,13 +37,15 @@
<application>
<uses-library android:name="android.test.runner" />
- <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService">
+ <service android:name="com.android.server.AccessibilityManagerServiceTest$MyFirstMockAccessibilityService"
+ android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService"/>
</intent-filter>
</service>
- <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService">
+ <service android:name="com.android.server.AccessibilityManagerServiceTest$MySecondMockAccessibilityService"
+ android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService"/>
</intent-filter>