summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Marineau <mike@marineau.org>2010-11-21 18:35:13 -0500
committerMichael Marineau <mike@marineau.org>2010-11-21 18:35:13 -0500
commit0ec72d9d9524ef78bd82e651b5fc94d605d34ece (patch)
treeec6eba222a892829173f9e5e9a810589f3fbc964
parent6493542ced6999b81ac2076355a2f95ee73d8061 (diff)
downloadframeworks_base-0ec72d9d9524ef78bd82e651b5fc94d605d34ece.zip
frameworks_base-0ec72d9d9524ef78bd82e651b5fc94d605d34ece.tar.gz
frameworks_base-0ec72d9d9524ef78bd82e651b5fc94d605d34ece.tar.bz2
Add the characters <>`^ to the alt-sym dialog.
The G2's keyboard lacks a number of special characters: ` ^ [ ] { } \ | < > Some of these are handled by the character picker that pops up when pressing alt-sym (alt and the space bar) but not all. This change adds the last few missing characters so it is now possible to access the full qwerty character set when using the physical keyboard. I am only familiar with the G1/G2 phones so I do not know what characters other phones may be lacking. Long term it may be useful to make this character picker customizable for each phone model. For now this trivial patch is sufficient to make me happy. Change-Id: I8d1592ae6731620c1eeacfce39fbae8443db6884
-rw-r--r--core/java/android/text/method/QwertyKeyListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/text/method/QwertyKeyListener.java b/core/java/android/text/method/QwertyKeyListener.java
index 7a1b6aa..d6c9855 100644
--- a/core/java/android/text/method/QwertyKeyListener.java
+++ b/core/java/android/text/method/QwertyKeyListener.java
@@ -438,7 +438,7 @@ public class QwertyKeyListener extends BaseKeyListener {
PICKER_SETS.put('y', "\u00FD\u00FF");
PICKER_SETS.put('z', "\u017A\u017C\u017E");
PICKER_SETS.put(KeyCharacterMap.PICKER_DIALOG_INPUT,
- "\u2026\u00A5\u2022\u00AE\u00A9\u00B1[]{}\\|");
+ "\u2026\u00A5\u2022\u00AE\u00A9\u00B1[]{}<>`^\\|");
PICKER_SETS.put('/', "\\");
// From packages/inputmethods/LatinIME/res/xml/kbd_symbols.xml