summaryrefslogtreecommitdiffstats
path: root/include/ui/KeycodeLabels.h
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-11-28 12:59:11 -0800
committerJeff Brown <jeffbrown@google.com>2011-11-29 12:17:22 -0800
commit9ee44c8f9456a9fc49d78b24e8cdeb9efa632c41 (patch)
treeb794697e6ffd975cd6dc0828df4ca8b49a66a618 /include/ui/KeycodeLabels.h
parent1d6410bcafbfeac44576cf6551008a143d53c124 (diff)
downloadframeworks_native-9ee44c8f9456a9fc49d78b24e8cdeb9efa632c41.zip
frameworks_native-9ee44c8f9456a9fc49d78b24e8cdeb9efa632c41.tar.gz
frameworks_native-9ee44c8f9456a9fc49d78b24e8cdeb9efa632c41.tar.bz2
Fix application launch shortcuts.
Improved quick launch bookmarks to support category-based shortcuts instead of hardcoding package and class names for all apps. Added a set of Intent categories for typical applications on the platform. Added support for some of the HID application launch usages to reduce reliance on quick launch for special purpose keys. Some keyboard vendors have hardcoded launch keys that synthesize "Search + X" type key combos. The goal is to encourage them to stop doing this by implementing more of HID. Bug: 5674723 Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593
Diffstat (limited to 'include/ui/KeycodeLabels.h')
-rwxr-xr-xinclude/ui/KeycodeLabels.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ui/KeycodeLabels.h b/include/ui/KeycodeLabels.h
index 2efe8ca..c5bd0c5 100755
--- a/include/ui/KeycodeLabels.h
+++ b/include/ui/KeycodeLabels.h
@@ -231,6 +231,10 @@ static const KeycodeLabel KEYCODES[] = {
{ "LANGUAGE_SWITCH", 204 },
{ "MANNER_MODE", 205 },
{ "3D_MODE", 206 },
+ { "CONTACTS", 207 },
+ { "CALENDAR", 208 },
+ { "MUSIC", 209 },
+ { "CALCULATOR", 210 },
// NOTE: If you add a new keycode here you must also add it to several other files.
// Refer to frameworks/base/core/java/android/view/KeyEvent.java for the full list.