am 37b9562f: Fix talk back of emoji key
* commit '37b9562fd7b593c90d7ab383ec650f39a7c0f621': Fix talk back of emoji keymain
commit
0430f94e94
|
@ -192,8 +192,8 @@
|
||||||
<string name="spoken_description_space">Space</string>
|
<string name="spoken_description_space">Space</string>
|
||||||
<!-- Spoken description for the "Mic" keyboard key. -->
|
<!-- Spoken description for the "Mic" keyboard key. -->
|
||||||
<string name="spoken_description_mic">Voice input</string>
|
<string name="spoken_description_mic">Voice input</string>
|
||||||
<!-- Spoken description for the "Smiley" keyboard key. -->
|
<!-- Spoken description for the "Emoji" keyboard key. -->
|
||||||
<string name="spoken_description_smiley">Smiley face</string>
|
<string name="spoken_description_emoji">Emoji</string>
|
||||||
<!-- Spoken description for the "Return" keyboard key. -->
|
<!-- Spoken description for the "Return" keyboard key. -->
|
||||||
<string name="spoken_description_return">Return</string>
|
<string name="spoken_description_return">Return</string>
|
||||||
<!-- Spoken description for the "Search" keyboard key. -->
|
<!-- Spoken description for the "Search" keyboard key. -->
|
||||||
|
|
|
@ -58,9 +58,6 @@ public final class KeyCodeDescriptionMapper {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initInternal() {
|
private void initInternal() {
|
||||||
// Manual label substitutions for key labels with no string resource
|
|
||||||
mKeyLabelMap.put(":-)", R.string.spoken_description_smiley);
|
|
||||||
|
|
||||||
// Special non-character codes defined in Keyboard
|
// Special non-character codes defined in Keyboard
|
||||||
mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space);
|
mKeyCodeMap.put(Constants.CODE_SPACE, R.string.spoken_description_space);
|
||||||
mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete);
|
mKeyCodeMap.put(Constants.CODE_DELETE, R.string.spoken_description_delete);
|
||||||
|
@ -75,6 +72,7 @@ public final class KeyCodeDescriptionMapper {
|
||||||
mKeyCodeMap.put(Constants.CODE_ACTION_NEXT, R.string.spoken_description_action_next);
|
mKeyCodeMap.put(Constants.CODE_ACTION_NEXT, R.string.spoken_description_action_next);
|
||||||
mKeyCodeMap.put(Constants.CODE_ACTION_PREVIOUS,
|
mKeyCodeMap.put(Constants.CODE_ACTION_PREVIOUS,
|
||||||
R.string.spoken_description_action_previous);
|
R.string.spoken_description_action_previous);
|
||||||
|
mKeyCodeMap.put(Constants.CODE_EMOJI, R.string.spoken_description_emoji);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue