summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-12-09 22:13:41 -0800
committerJeff Brown <jeffbrown@google.com>2010-12-13 23:27:17 -0800
commitcaab4d0a509a5283b65d7c44e66b0dc7b89a6d7c (patch)
treeff206928dace9bf18f5b0726fbf0fc8653da1f56 /packages
parent29f94b781e1834d8280aba741b6e86b164d1223c (diff)
downloadframeworks_base-caab4d0a509a5283b65d7c44e66b0dc7b89a6d7c.zip
frameworks_base-caab4d0a509a5283b65d7c44e66b0dc7b89a6d7c.tar.gz
frameworks_base-caab4d0a509a5283b65d7c44e66b0dc7b89a6d7c.tar.bz2
Update shortcuts.
Also modified the shortcut key handling so that it drops chorded Search+X keys when even if no shortcut was found. Without this change, pressing an unhandled shortcut causes the Search widget to pop up and the character to be typed. Bug: 3022227 Change-Id: Ic0921428bd1270604ca28caf1f8493727127f4ed
Diffstat (limited to 'packages')
-rw-r--r--packages/SettingsProvider/res/xml/bookmarks.xml40
-rw-r--r--packages/SystemUI/res/xml/bookmarks.xml56
2 files changed, 21 insertions, 75 deletions
diff --git a/packages/SettingsProvider/res/xml/bookmarks.xml b/packages/SettingsProvider/res/xml/bookmarks.xml
index dfaeeaf..83229f4 100644
--- a/packages/SettingsProvider/res/xml/bookmarks.xml
+++ b/packages/SettingsProvider/res/xml/bookmarks.xml
@@ -4,9 +4,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -14,6 +14,22 @@
limitations under the License.
-->
+<!--
+ Default system bookmarks for AOSP.
+ Bookmarks for vendor apps should be added to a bookmarks resource overlay; not here.
+
+ Typical shortcuts (not necessarily defined here):
+ 'b': Browser
+ 'c': Contacts
+ 'e': Email
+ 'g': GMail
+ 'l': Calendar
+ 'm': Maps
+ 'p': Music
+ 's': SMS
+ 't': Talk
+ 'y': YouTube
+-->
<bookmarks>
<bookmark
package="com.android.browser"
@@ -21,30 +37,16 @@
shortcut="b" />
<bookmark
package="com.android.contacts"
- class="com.android.contacts.DialtactsContactsEntryActivity"
+ class="com.android.contacts.activities.ContactsFrontDoor"
shortcut="c" />
<bookmark
- package="com.android.email"
+ package="com.google.android.email"
class="com.android.email.activity.Welcome"
shortcut="e" />
<bookmark
- package="com.google.android.gm"
- class="com.google.android.gm.ConversationListActivityGmail"
- shortcut="g" />
- <bookmark
- package="com.android.im"
- class="com.android.im.app.LandingPage"
- shortcut="i" />
- <bookmark
- package="com.android.calendar"
+ package="com.google.android.calendar"
class="com.android.calendar.LaunchActivity"
shortcut="l" />
-<!--
- <bookmark
- package="com.google.android.apps.maps"
- class="com.google.android.maps.MapsActivity"
- shortcut="m" />
--->
<bookmark
package="com.android.music"
class="com.android.music.MusicBrowserActivity"
diff --git a/packages/SystemUI/res/xml/bookmarks.xml b/packages/SystemUI/res/xml/bookmarks.xml
deleted file mode 100644
index dfaeeaf..0000000
--- a/packages/SystemUI/res/xml/bookmarks.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (C) 2007 The Android Open Source Project
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-
-<bookmarks>
- <bookmark
- package="com.android.browser"
- class="com.android.browser.BrowserActivity"
- shortcut="b" />
- <bookmark
- package="com.android.contacts"
- class="com.android.contacts.DialtactsContactsEntryActivity"
- shortcut="c" />
- <bookmark
- package="com.android.email"
- class="com.android.email.activity.Welcome"
- shortcut="e" />
- <bookmark
- package="com.google.android.gm"
- class="com.google.android.gm.ConversationListActivityGmail"
- shortcut="g" />
- <bookmark
- package="com.android.im"
- class="com.android.im.app.LandingPage"
- shortcut="i" />
- <bookmark
- package="com.android.calendar"
- class="com.android.calendar.LaunchActivity"
- shortcut="l" />
-<!--
- <bookmark
- package="com.google.android.apps.maps"
- class="com.google.android.maps.MapsActivity"
- shortcut="m" />
--->
- <bookmark
- package="com.android.music"
- class="com.android.music.MusicBrowserActivity"
- shortcut="p" />
- <bookmark
- package="com.android.mms"
- class="com.android.mms.ui.ConversationList"
- shortcut="s" />
-</bookmarks>