Merge "Fix ACCESSIBILITY_ENABLED settings." into nyc-dev

am: 2ec58a6

* commit '2ec58a65d2b976d75a063f83bfcb3d1fac5e51e1':
  Fix ACCESSIBILITY_ENABLED settings.
This commit is contained in:
Phil Weaver
2016-03-23 02:43:05 +00:00
committed by android-build-merger

View File

@@ -1549,7 +1549,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
try {
Settings.Secure.putIntForUser(mContext.getContentResolver(),
Settings.Secure.ACCESSIBILITY_ENABLED,
userState.isHandlingAccessibilityEvents() ? 0 : 1,
userState.isHandlingAccessibilityEvents() ? 1 : 0,
userState.mUserId);
} finally {
Binder.restoreCallingIdentity(identity);