Bug 685537 - [HKb] Fn key + key is not working properly. r=jchen

This commit is contained in:
Makoto Kato 2011-09-20 17:35:38 +09:00
Родитель 8407136580
Коммит 8090e96d0b
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -649,7 +649,8 @@ class GeckoSurfaceView
break;
}
if (isPreIme && mIMEState != IME_STATE_DISABLED)
if (isPreIme && mIMEState != IME_STATE_DISABLED &&
(event.getMetaState() & KeyEvent.META_ALT_ON) == 0)
// Let active IME process pre-IME key events
return false;
@ -678,7 +679,8 @@ class GeckoSurfaceView
break;
}
if (isPreIme && mIMEState != IME_STATE_DISABLED)
if (isPreIme && mIMEState != IME_STATE_DISABLED &&
(event.getMetaState() & KeyEvent.META_ALT_ON) == 0)
// Let active IME process pre-IME key events
return false;