summaryrefslogtreecommitdiffstats
path: root/policy
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-06-02 22:38:20 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-06-02 22:38:20 -0700
commit37166e6d7e41d309e834f114096d8c876ab1a45d (patch)
treeed24269e86c0377ffce45c9d2d631b1116f52546 /policy
parent60a83af0488b5ebaffbdf70d5709eed0834a91f8 (diff)
parentff97998a73a846c0ded2604456dddd95f572ee3a (diff)
downloadframeworks_base-37166e6d7e41d309e834f114096d8c876ab1a45d.zip
frameworks_base-37166e6d7e41d309e834f114096d8c876ab1a45d.tar.gz
frameworks_base-37166e6d7e41d309e834f114096d8c876ab1a45d.tar.bz2
am ff97998a: am 4762c2d7: Add expand and collapse.
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) {