Fix comment

This is follow up of  Ie10b3e0.

Change-Id: Idefbe1575915bb87f1c86cb3ddb5efe578c5b760
main
Tadashi G. Takaoka 2012-03-02 21:29:51 +09:00
parent c2136c4e63
commit 04bc787ce7
1 changed files with 3 additions and 3 deletions

View File

@ -482,9 +482,9 @@ public class LatinKeyboardView extends KeyboardView implements PointerTracker.Ke
final int primaryCode = parentKey.mCode;
if (parentKey.mMoreKeys == null && !parentKey.altCodeWhileTyping()
&& parentKey.mAltCode != Keyboard.CODE_UNSPECIFIED) {
// Long press on a key that has no more keys and not altCodeWhileTyping but altCode
// defined, such as "0 +" key on phone layout and "/ :" key on datetime
// layout.
// Long press on a key that has no more keys and is not altCodeWhileTyping, but altCode
// is defined, such as the "0 +" key on the phone layout and the "/ :" key on the
// datetime layout.
tracker.onLongPressed();
invokeCodeInput(parentKey.mAltCode);
invokeReleaseKey(primaryCode);