diff options
author | Dianne Hackborn <hackbod@google.com> | 2009-07-28 17:51:07 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2009-07-28 17:51:07 -0700 |
commit | 1dc1ccaf5c8cc136b71537f310a3f13150aaef41 (patch) | |
tree | 1ea9256a6d561a918cc225c8258a4baa1e60fbed /phone/com/android/internal/policy/impl/PhoneWindow.java | |
parent | 1d903521ffc93b5128ebc445d7dd046ee0d5fbc4 (diff) | |
download | base-1dc1ccaf5c8cc136b71537f310a3f13150aaef41.tar.gz |
Fix issue #1999179: search -> click result -> press home = search dialog is shown then hiddenandroid-sdk-tools_r2android-sdk-1.6_r2android-sdk-1.6_r1android-sdk-1.6-docs_r1android-1.6_r2android-1.6_r1.5android-1.6_r1.4android-1.6_r1.3android-1.6_r1.2android-1.6_r1.1android-1.6_r1donut-release2donut-releasedonut
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.java | 2 |
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() || |