Re-enable accessibility when UiAutomation closed.

We need to read the settings when UiAutomation closes in order to
configure other accessibility features from settings.

Bug: 28461805
Bug: 28460671
Change-Id: I030761922ec4acfa2d916e171c39e9dc2deb85a2
This commit is contained in:
Phil Weaver
2016-05-02 11:36:00 -07:00
parent 7cdc320a6b
commit 0f36545bb8

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);