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 <GridRows
latin:codesArray="@array/emoji_faces" latin:codesArray="@array/emoji_faces"
latin:keyLabelFlags="fontNormal" latin:keyLabelFlags="fontNormal"
latin:backgroundType="normal" /> latin:backgroundType="empty" />
</Keyboard> </Keyboard>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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