commit | 517a3e07611657f36ec85b9cf52d9430edf38adc | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Tue Mar 22 17:54:37 2016 -0700 |
committer | Phil Weaver <pweaver@google.com> | Tue Mar 22 17:54:37 2016 -0700 |
tree | 4cedd09c704103bcd6cafc7a2c44340003427d59 | |
parent | 36a20cdde3176f24279e2382f878cecdbecafa9d [diff] |
Fix ACCESSIBILITY_ENABLED settings. A typo meant that the setting reflected the exact opposite of what was intended. Bug: 27781201 Change-Id: Icb0d4d585399f147b319093be57d708af4c6dfdc
diff --git a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java index b4b40ae..9a2611e 100644 --- a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java +++ b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
@@ -1544,7 +1544,7 @@ try { Settings.Secure.putIntForUser(mContext.getContentResolver(), Settings.Secure.ACCESSIBILITY_ENABLED, - userState.isHandlingAccessibilityEvents() ? 0 : 1, + userState.isHandlingAccessibilityEvents() ? 1 : 0, userState.mUserId); } finally { Binder.restoreCallingIdentity(identity);