Merge "Re-enable accessibility when UiAutomation closed." into nyc-dev

This commit is contained in:
Phil Weaver
2016-05-02 20:38:38 +00:00
committed by Android (Google) Code Review

View File

@@ -3077,6 +3077,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
userState.mInstalledServices.remove(mAccessibilityServiceInfo);
userState.mEnabledServices.remove(mComponentName);
userState.destroyUiAutomationService();
readConfigurationForUserStateLocked(userState);
}
if (mId == getMagnificationController().getIdOfLastServiceToMagnify()) {
getMagnificationController().resetIfNeeded(true);