summaryrefslogtreecommitdiffstats
path: root/native
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
commit6651a638348c15e89e265b0a53c775cac9beafa2 (patch)
treef42e59d99363cada07cdb6f4bff69fa51bfae2ad /native
parent500afb87a7a8b5928ef1a5196bdfd0bcc2b87e4a (diff)
downloadframeworks_base-6651a638348c15e89e265b0a53c775cac9beafa2.zip
frameworks_base-6651a638348c15e89e265b0a53c775cac9beafa2.tar.gz
frameworks_base-6651a638348c15e89e265b0a53c775cac9beafa2.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 'native')
-rw-r--r--native/include/android/keycodes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/native/include/android/keycodes.h b/native/include/android/keycodes.h
index 5d49775..8414ff6 100644
--- a/native/include/android/keycodes.h
+++ b/native/include/android/keycodes.h
@@ -250,6 +250,10 @@ enum {
AKEYCODE_LANGUAGE_SWITCH = 204,
AKEYCODE_MANNER_MODE = 205,
AKEYCODE_3D_MODE = 206,
+ AKEYCODE_CONTACTS = 207,
+ AKEYCODE_CALENDAR = 208,
+ AKEYCODE_MUSIC = 209,
+ AKEYCODE_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.