am a0ac1471
: Merge "Fix dismissing more keys panel when hiding keyboard"
* commit 'a0ac147112b158a58f802700c7d78fa3062630de': Fix dismissing more keys panel when hiding keyboard
This commit is contained in:
commit
d1f0e40a86
1 changed files with 1 additions and 5 deletions
|
@ -664,10 +664,6 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||
@Override
|
||||
public void onDismissMoreKeysPanel() {
|
||||
dimEntireKeyboard(false /* dimmed */);
|
||||
dismissMoreKeysPanel();
|
||||
}
|
||||
|
||||
private void dismissMoreKeysPanel() {
|
||||
if (isShowingMoreKeysPanel()) {
|
||||
mMoreKeysPanel.removeFromParent();
|
||||
mMoreKeysPanel = null;
|
||||
|
@ -733,7 +729,7 @@ public final class MainKeyboardView extends KeyboardView implements PointerTrack
|
|||
}
|
||||
|
||||
public void onHideWindow() {
|
||||
dismissMoreKeysPanel();
|
||||
onDismissMoreKeysPanel();
|
||||
final MainKeyboardAccessibilityDelegate accessibilityDelegate = mAccessibilityDelegate;
|
||||
if (accessibilityDelegate != null) {
|
||||
accessibilityDelegate.onHideWindow();
|
||||
|
|
Loading…
Reference in a new issue