summaryrefslogtreecommitdiff
path: root/phone/com/android/internal/policy/impl/PhoneWindow.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-07-28 17:51:07 -0700
committerDianne Hackborn <hackbod@google.com>2009-07-28 17:51:07 -0700
commit1dc1ccaf5c8cc136b71537f310a3f13150aaef41 (patch)
tree1ea9256a6d561a918cc225c8258a4baa1e60fbed /phone/com/android/internal/policy/impl/PhoneWindow.java
parent1d903521ffc93b5128ebc445d7dd046ee0d5fbc4 (diff)
downloadbase-1dc1ccaf5c8cc136b71537f310a3f13150aaef41.tar.gz
Re-arrange various things to ensure that the search dialog is told about system windows being closed before it is told about the navigation back to home.
Diffstat (limited to 'phone/com/android/internal/policy/impl/PhoneWindow.java')
-rw-r--r--phone/com/android/internal/policy/impl/PhoneWindow.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/phone/com/android/internal/policy/impl/PhoneWindow.java b/phone/com/android/internal/policy/impl/PhoneWindow.java
index db43a9c..6341771 100644
--- a/phone/com/android/internal/policy/impl/PhoneWindow.java
+++ b/phone/com/android/internal/policy/impl/PhoneWindow.java
@@ -239,11 +239,11 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
if (!mKeycodeCameraTimeoutActive) return;
mKeycodeCameraTimeoutActive = false;
mDecor.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS);
+ sendCloseSystemWindows();
// Broadcast an intent that the Camera button was longpressed
Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null);
intent.putExtra(Intent.EXTRA_KEY_EVENT, (KeyEvent) msg.obj);
getContext().sendOrderedBroadcast(intent, null);
- sendCloseSystemWindows();
} break;
case MSG_SEARCH_LONG_PRESS_COMPLETE: {
if (getKeyguardManager().inKeyguardRestrictedInputMode() ||