diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-05-30 14:06:32 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-05-30 18:41:08 -0700 |
commit | 9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18 (patch) | |
tree | 2bb45fef9711f8d360bdd36b87907ef3c0c45fed /services/java/com/android/server/accessibility/TouchExplorer.java | |
parent | 5ab6e12b450d13c8eb501001c7a8669826b86ea4 (diff) | |
download | frameworks_base-9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18.zip frameworks_base-9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18.tar.gz frameworks_base-9a4c5cd19106c3021eeead27fbc2aa05ad7d0d18.tar.bz2 |
Ask to enable touch exploration only the first time it enables the feature.
1. Now we are asking the user to grant permission to the service to enable
touch exploration only the first time this service is enabled. If the
service was uninstalled and then later installed we ask the user again.
This avoids the scenario in which rebooting the device or upgrading an
accessibility service leaves the device in a state in which the user
cannot interact with.
bug:6582088
Change-Id: I51d24e4892b3b48c9fb11dfb09ec1118502ba526
Diffstat (limited to 'services/java/com/android/server/accessibility/TouchExplorer.java')
-rw-r--r-- | services/java/com/android/server/accessibility/TouchExplorer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/accessibility/TouchExplorer.java b/services/java/com/android/server/accessibility/TouchExplorer.java index b0b2b8d..4c38ab9 100644 --- a/services/java/com/android/server/accessibility/TouchExplorer.java +++ b/services/java/com/android/server/accessibility/TouchExplorer.java @@ -1532,7 +1532,7 @@ public class TouchExplorer { */ public ReceivedPointerTracker(Context context) { mThresholdActivePointer = - ViewConfiguration.get(context).getScaledTouchSlop() * COEFFICIENT_ACTIVE_POINTER; + ViewConfiguration.get(context).getScaledTouchSlop() * COEFFICIENT_ACTIVE_POINTER;//Heie govna } /** |