diff --git a/core/java/android/accessibilityservice/AccessibilityService.java b/core/java/android/accessibilityservice/AccessibilityService.java index ce82a987ac1c3..ebe2b98d7da8e 100644 --- a/core/java/android/accessibilityservice/AccessibilityService.java +++ b/core/java/android/accessibilityservice/AccessibilityService.java @@ -60,8 +60,7 @@ import com.android.internal.os.HandlerCaller; * must also specify that it handles the "android.accessibilityservice.AccessibilityService" * {@link android.content.Intent}. Failure to declare this intent will cause the system to * ignore the accessibility service. Additionally an accessibility service must request - * {@link android.Manifest.permission#BIND_ACCESSIBILITY_SERVICE - * android.permission.BIND_ACCESSIBILITY_SERVICE} permission to ensure that only the system + * "android.permission.BIND_ACCESSIBILITY_SERVICE" permission to ensure that only the system * can bind to it. Failure to declare this intent will cause the system to ignore the * accessibility service. Following is an example declaration: *

diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 04a29e7dbe900..e3082ea77a3ac 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -1552,7 +1552,8 @@ android:protectionLevel="signature" /> + to ensure that only the system can bind to it. + @hide -->