Docs: Fixed the code sample am: a80822a98b
am: f87a5a47d6
Change-Id: I634bb6bd8e89f1ed25f99c3cc498470f5995d744
This commit is contained in:
@@ -79,22 +79,15 @@ must also request the {@link android.Manifest.permission#BIND_ACCESSIBILITY_SERV
|
|||||||
as shown in the following sample:</p>
|
as shown in the following sample:</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<manifest>
|
|
||||||
...
|
|
||||||
<uses-permission ... />
|
|
||||||
...
|
|
||||||
<application>
|
<application>
|
||||||
...
|
|
||||||
<service android:name=".MyAccessibilityService"
|
<service android:name=".MyAccessibilityService"
|
||||||
android:label="@string/accessibility_service_label"
|
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
|
||||||
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
|
android:label="@string/accessibility_service_label">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.accessibilityservice.AccessibilityService" />
|
<action android:name="android.accessibilityservice.AccessibilityService" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</service>
|
</service>
|
||||||
<uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" />
|
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>These declarations are required for all accessibility services deployed on Android 1.6 (API Level
|
<p>These declarations are required for all accessibility services deployed on Android 1.6 (API Level
|
||||||
|
|||||||
Reference in New Issue
Block a user