Merge "Remove redundant twiddling of Settings.Secure.ACCESSIBILITY_ENABLED" into nyc-dev

This commit is contained in:
Tony Mantler
2016-03-10 16:54:09 +00:00
committed by Android (Google) Code Review

View File

@@ -145,11 +145,6 @@ public class AccessibilityUtils {
Settings.Secure.putStringForUser(context.getContentResolver(),
Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
enabledServicesBuilder.toString(), userId);
// Update accessibility enabled.
Settings.Secure.putIntForUser(context.getContentResolver(),
Settings.Secure.ACCESSIBILITY_ENABLED, accessibilityEnabled ? 1 : 0,
userId);
}
private static Set<ComponentName> getInstalledServices(Context context) {