File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
services/java/com/android/server/accessibility Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -682,11 +682,7 @@ private void populateInstalledAccessibilityServiceLocked() {
682682 for (int i = 0 , count = installedServices .size (); i < count ; i ++) {
683683 ResolveInfo resolveInfo = installedServices .get (i );
684684 ServiceInfo serviceInfo = resolveInfo .serviceInfo ;
685- // For now we are enforcing this if the target version is JellyBean or
686- // higher and in a later release we will enforce this for everyone.
687- if (serviceInfo .applicationInfo .targetSdkVersion >= Build .VERSION_CODES .JELLY_BEAN
688- && !android .Manifest .permission .BIND_ACCESSIBILITY_SERVICE .equals (
689- serviceInfo .permission )) {
685+ if (!android .Manifest .permission .BIND_ACCESSIBILITY_SERVICE .equals (serviceInfo .permission )) {
690686 Slog .w (LOG_TAG , "Skipping accessibilty service " + new ComponentName (
691687 serviceInfo .packageName , serviceInfo .name ).flattenToShortString ()
692688 + ": it does not require the permission "
You can’t perform that action at this time.
0 commit comments