Merge "Fix issue where (accessibility) keyboard mode callbacks were not always called. Bug: 28007101" into nyc-dev

This commit is contained in:
Anna Galusza
2016-04-08 17:06:08 +00:00
committed by Android (Google) Code Review

View File

@@ -1795,9 +1795,8 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
}
userState.mSoftKeyboardShowMode = 0;
userState.mServiceChangingSoftKeyboardMode = null;
notifySoftKeyboardShowModeChangedLocked(userState.mSoftKeyboardShowMode);
}
notifySoftKeyboardShowModeChangedLocked(userState.mSoftKeyboardShowMode);
}
}
@@ -4355,6 +4354,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
}
} else if (mAccessibilitySoftKeyboardModeUri.equals(uri)) {
if (readSoftKeyboardShowModeChangedLocked(userState)) {
notifySoftKeyboardShowModeChangedLocked(userState.mSoftKeyboardShowMode);
onUserStateChangedLocked(userState);
}
}