From d1ed3cea37e4156eab14b7dc8207a520c9eab700 Mon Sep 17 00:00:00 2001 From: Mike Cleron Date: Fri, 1 Feb 2013 18:36:41 +0000 Subject: Revert "Fixing backwards cmpatibility for enabling explore by touch" This reverts commit 0a9c7c144671f70f5f1af222050bd3ec6b11fe41 Change-Id: I8da530a6d0a57163522d5a63326e787a8d22ecbf --- .../android/accessibilityservice/AccessibilityServiceInfo.java | 10 +--------- core/java/android/provider/Settings.java | 1 + 2 files changed, 2 insertions(+), 9 deletions(-) (limited to 'core/java') diff --git a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java index d12a336..ef7186b 100644 --- a/core/java/android/accessibilityservice/AccessibilityServiceInfo.java +++ b/core/java/android/accessibilityservice/AccessibilityServiceInfo.java @@ -150,18 +150,10 @@ public class AccessibilityServiceInfo implements Parcelable { * flag does not guarantee that the device will not be in touch exploration * mode since there may be another enabled service that requested it. *

- * For accessibility services targeting API version higher than - * {@link Build.VERSION_CODES#JELLY_BEAN_MR1} that want to set - * this flag have to request the + * Clients that want to set this flag have to request the * {@link android.Manifest.permission#CAN_REQUEST_TOUCH_EXPLORATION_MODE} * permission or the flag will be ignored. *

- *

- * Services targeting API version equal to or lower than - * {@link Build.VERSION_CODES#JELLY_BEAN_MR1} will work normally, i.e. - * the first time they are run, if this flag is specified, a dialog is - * shown to the user to confirm enabling explore by touch. - *

*/ public static final int FLAG_REQUEST_TOUCH_EXPLORATION_MODE = 0x0000004; diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 3d850cf..be21fb4 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -3351,6 +3351,7 @@ public final class Settings { * * @hide */ + @Deprecated public static final String TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES = "touch_exploration_granted_accessibility_services"; -- cgit v1.1