Possible fix for monkey bug: 2529350
Don't try to show the extension if the main keyboard is not showing. Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1bmain
parent
3e0c82ec80
commit
c2b8c16bdf
|
@ -276,6 +276,10 @@ public class LatinKeyboardView extends KeyboardView {
|
|||
}
|
||||
|
||||
private boolean openExtension() {
|
||||
// If the current keyboard is not visible, don't show the popup
|
||||
if (!isShown()) {
|
||||
return false;
|
||||
}
|
||||
if (((LatinKeyboard) getKeyboard()).getExtension() == 0) return false;
|
||||
makePopupWindow();
|
||||
mExtensionVisible = true;
|
||||
|
|
Loading…
Reference in New Issue