mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-27 02:37:42 +00:00
docs(android): add doc-comment on added Android-side line
This commit is contained in:
parent
31477869aa
commit
7d42509bc0
1 changed files with 5 additions and 0 deletions
|
|
@ -313,7 +313,12 @@ final class KMKeyboard extends WebView {
|
|||
public void onLongPress(MotionEvent event) {
|
||||
if (KMManager.getGlobeKeyState() == KMManager.GlobeKeyState.GLOBE_KEY_STATE_DOWN) {
|
||||
KMManager.setGlobeKeyState(KMManager.GlobeKeyState.GLOBE_KEY_STATE_LONGPRESS);
|
||||
|
||||
// When we activate the keyboard picker, this will disrupt the JS-side's control
|
||||
// flow for gesture-handling; we should pre-emptively clear the globe key,
|
||||
// as Web will not receive a "globe key up" event.
|
||||
loadJavascript("clearGlobeHighlight()");
|
||||
|
||||
KMManager.handleGlobeKeyAction(context, true, keyboardType);
|
||||
return;
|
||||
/* For future implementation
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue