Suppress redundant TYPE_WINDOWS_STATE_CHANGED.
Bug: 23975618 Change-Id: I5933beaa5b28404f85e100461bdeab5496eb3c0e
This commit is contained in:
parent
5074304dbd
commit
38b15afb47
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ public final class MainKeyboardAccessibilityDelegate
|
|||
* Called when the keyboard is hidden and accessibility is enabled.
|
||||
*/
|
||||
public void onHideWindow() {
|
||||
announceKeyboardHidden();
|
||||
if (mLastKeyboardMode != KEYBOARD_IS_HIDDEN) {
|
||||
announceKeyboardHidden();
|
||||
}
|
||||
mLastKeyboardMode = KEYBOARD_IS_HIDDEN;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue