Revert "Fix Emoji key feedback"

This reverts commit 953858d615.
The original CL should be split into two.

Change-Id: Ic1d032e2964a1b9bb44d98bdb8573c6cb47a865c
main
Tadashi G. Takaoka 2014-11-04 11:24:26 +00:00
parent 953858d615
commit a5d24336bf
8 changed files with 8 additions and 8 deletions

View File

@ -27,5 +27,5 @@
<GridRows
latin:codesArray="@array/emoji_faces"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -27,5 +27,5 @@
<GridRows
latin:codesArray="@array/emoji_objects"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -27,5 +27,5 @@
<GridRows
latin:codesArray="@array/emoji_nature"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -27,5 +27,5 @@
<GridRows
latin:codesArray="@array/emoji_places"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -27,5 +27,5 @@
<GridRows
latin:codesArray="@array/emoji_symbols"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -28,5 +28,5 @@
<GridRows
latin:textsArray="@array/emoji_emoticons"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -28,5 +28,5 @@
<GridRows
latin:codesArray="@array/emoji_recents"
latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" />
latin:backgroundType="empty" />
</Keyboard>

View File

@ -148,7 +148,7 @@ final class EmojiPageKeyboardView extends KeyboardView implements
void callListenerOnPressKey(final Key pressedKey) {
mPendingKeyDown = null;
pressedKey.onPressed();
pressedKey.onReleased();
invalidateKey(pressedKey);
mListener.onPressKey(pressedKey);
}