Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab632072 authored by Hemal Patel's avatar Hemal Patel Committed by android-build-merger
Browse files

Docs: Fixed the code sample am: a80822a9

am: f87a5a47

Change-Id: I634bb6bd8e89f1ed25f99c3cc498470f5995d744
parents 2f16c15a f87a5a47
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -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