Fix Emoji key feedback

Bug: 18166905
Change-Id: I3c3296cabeed31e1250ff0753ea94576b494b96a
main
Tadashi G. Takaoka 2014-11-04 17:31:03 +09:00
parent d071545df9
commit 953858d615
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="empty" />
latin:backgroundType="normal" />
</Keyboard>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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