Merge "Fix comment"

main
Tadashi G. Takaoka 2012-03-04 18:28:01 -08:00 committed by Android (Google) Code Review
commit 50b82dca62
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);