Fix dismissing more keys panel when hiding keyboard
This issue was introduced by Id7002ecb7f. Bug: 15809493 Change-Id: Iaa51b7f40a54ccbafb45c6444d8bbd21c671f7af
This commit is contained in:
parent
593fe9b0cf
commit
a74719c934
1 changed files with 1 additions and 5 deletions
|
@ -664,10 +664,6 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||||
@Override
|
@Override
|
||||||
public void onDismissMoreKeysPanel() {
|
public void onDismissMoreKeysPanel() {
|
||||||
dimEntireKeyboard(false /* dimmed */);
|
dimEntireKeyboard(false /* dimmed */);
|
||||||
dismissMoreKeysPanel();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void dismissMoreKeysPanel() {
|
|
||||||
if (isShowingMoreKeysPanel()) {
|
if (isShowingMoreKeysPanel()) {
|
||||||
mMoreKeysPanel.removeFromParent();
|
mMoreKeysPanel.removeFromParent();
|
||||||
mMoreKeysPanel = null;
|
mMoreKeysPanel = null;
|
||||||
|
@ -733,7 +729,7 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onHideWindow() {
|
public void onHideWindow() {
|
||||||
dismissMoreKeysPanel();
|
onDismissMoreKeysPanel();
|
||||||
final MainKeyboardAccessibilityDelegate accessibilityDelegate = mAccessibilityDelegate;
|
final MainKeyboardAccessibilityDelegate accessibilityDelegate = mAccessibilityDelegate;
|
||||||
if (accessibilityDelegate != null) {
|
if (accessibilityDelegate != null) {
|
||||||
accessibilityDelegate.onHideWindow();
|
accessibilityDelegate.onHideWindow();
|
||||||
|
|
Loading…
Reference in a new issue