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
diff --git a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
index ae31438..e1695e0 100644
--- a/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
+++ b/services/accessibility/java/com/android/server/accessibility/AccessibilityManagerService.java
@@ -3077,6 +3077,7 @@
                     userState.mInstalledServices.remove(mAccessibilityServiceInfo);
                     userState.mEnabledServices.remove(mComponentName);
                     userState.destroyUiAutomationService();
+                    readConfigurationForUserStateLocked(userState);
                 }
                 if (mId == getMagnificationController().getIdOfLastServiceToMagnify()) {
                     getMagnificationController().resetIfNeeded(true);