summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hemal Patel <hemalp@google.com> 2016-09-30 22:27:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-09-30 22:27:57 +0000
commit91690d0c686fea6d4ba96bb8cc0bd5a95034bc2a (patch)
tree9abe629acbf269d313f9db4c54d589ad49265243
parentd93a31bbe0d5d6bd0d8b696da2f19430823e02b1 (diff)
parenta80822a98b6928f56c5b9b40be45bb8c4340dd61 (diff)
Merge "Docs: Fixed the code sample" into nyc-dev
-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