Fix comment
This is follow up of Ie10b3e0. Change-Id: Idefbe1575915bb87f1c86cb3ddb5efe578c5b760main
parent
c2136c4e63
commit
04bc787ce7
|
@ -482,9 +482,9 @@ public class LatinKeyboardView extends KeyboardView implements PointerTracker.Ke
|
||||||
final int primaryCode = parentKey.mCode;
|
final int primaryCode = parentKey.mCode;
|
||||||
if (parentKey.mMoreKeys == null && !parentKey.altCodeWhileTyping()
|
if (parentKey.mMoreKeys == null && !parentKey.altCodeWhileTyping()
|
||||||
&& parentKey.mAltCode != Keyboard.CODE_UNSPECIFIED) {
|
&& parentKey.mAltCode != Keyboard.CODE_UNSPECIFIED) {
|
||||||
// Long press on a key that has no more keys and not altCodeWhileTyping but altCode
|
// Long press on a key that has no more keys and is not altCodeWhileTyping, but altCode
|
||||||
// defined, such as "0 +" key on phone layout and "/ :" key on datetime
|
// is defined, such as the "0 +" key on the phone layout and the "/ :" key on the
|
||||||
// layout.
|
// datetime layout.
|
||||||
tracker.onLongPressed();
|
tracker.onLongPressed();
|
||||||
invokeCodeInput(parentKey.mAltCode);
|
invokeCodeInput(parentKey.mAltCode);
|
||||||
invokeReleaseKey(primaryCode);
|
invokeReleaseKey(primaryCode);
|
||||||
|
|
Loading…
Reference in New Issue