summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-05-17 15:42:59 -0700
committerJoe Onorato <joeo@android.com>2010-06-02 14:48:42 -0700
commit4762c2d75a55e0854bbff2f996748116d4ab1a37 (patch)
tree7467da673f3e8e753a79ad044fc24e9ebb237a08 /policy
parentf3f0e053f0cc66249a11639eb67d0cdc2da26ded (diff)
downloadframeworks_base-4762c2d75a55e0854bbff2f996748116d4ab1a37.zip
frameworks_base-4762c2d75a55e0854bbff2f996748116d4ab1a37.tar.gz
frameworks_base-4762c2d75a55e0854bbff2f996748116d4ab1a37.tar.bz2
Add expand and collapse.
Change-Id: I58ad95c59b2c46d3f25349e137d5624aefc6c6cd
Diffstat (limited to 'policy')
-rwxr-xr-xpolicy/com/android/internal/policy/impl/PhoneWindowManager.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/policy/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/com/android/internal/policy/impl/PhoneWindowManager.java
index 3169fe0..73a57ee 100755
--- a/policy/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1140,22 +1140,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
return true;
}
}
- } else if (code == KeyEvent.KEYCODE_NOTIFICATION) {
- if (down) {
- // this key doesn't exist on current hardware, but if a device
- // didn't have a touchscreen, it would want one of these to open
- // the status bar.
- IStatusBarService sbs = IStatusBarService.Stub.asInterface(ServiceManager.getService("statusbar"));
- if (sbs != null) {
- try {
- sbs.toggle();
- } catch (RemoteException e) {
- // we're screwed anyway, since it's in this process
- throw new RuntimeException(e);
- }
- }
- }
- return true;
} else if (code == KeyEvent.KEYCODE_SEARCH) {
if (down) {
if (repeatCount == 0) {