summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hemal Patel <hemalp@google.com> 2016-09-30 22:55:45 +0000
committer android-build-merger <android-build-merger@google.com> 2016-09-30 22:55:45 +0000
commit0af4f5edddefda73639ba44a4f629810f932a92f (patch)
tree918e71a70e19fdf3ae86db80c495cfe20d77ac96
parentc47ad5972d0eac57e971e76d68a90affa8aa0cfd (diff)
parentd44d34d32916c793572b010be61cccf78aee0317 (diff)
Docs: Fixed the code sample am: a80822a98b am: 313b1d7310
am: d44d34d329 Change-Id: I3f74ab6f0968dc20e55738996b930c29d9912628
-rw-r--r--docs/html/guide/topics/ui/accessibility/services.jd11
1 files changed, 2 insertions, 9 deletions
diff --git a/docs/html/guide/topics/ui/accessibility/services.jd b/docs/html/guide/topics/ui/accessibility/services.jd
index c6db855adba4..dbc69ef884ee 100644
--- a/docs/html/guide/topics/ui/accessibility/services.jd
+++ b/docs/html/guide/topics/ui/accessibility/services.jd
@@ -79,22 +79,15 @@ must also request the {@link android.Manifest.permission#BIND_ACCESSIBILITY_SERV
as shown in the following sample:</p>
<pre>
-&lt;manifest&gt;
- ...
- &lt;uses-permission ... /&gt;
- ...
&lt;application&gt;
- ...
&lt;service android:name=&quot;.MyAccessibilityService&quot;
- android:label=&quot;@string/accessibility_service_label&quot;
- android:permission=&quot;android.permission.BIND_ACCESSIBILITY_SERVICE&quot&gt;
+ android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
+ android:label=&quot;@string/accessibility_service_label&quot;&gt;
&lt;intent-filter&gt;
&lt;action android:name=&quot;android.accessibilityservice.AccessibilityService&quot; /&gt;
&lt;/intent-filter&gt;
&lt;/service&gt;
- &lt;uses-permission android:name="android.permission.BIND_ACCESSIBILITY_SERVICE" /&gt;
&lt;/application&gt;
-&lt;/manifest&gt;
</pre>
<p>These declarations are required for all accessibility services deployed on Android 1.6 (API Level