From 323216beeb6f7f63f28f0dd10666f3c10617a6b7 Mon Sep 17 00:00:00 2001 From: Karl Rosaen Date: Mon, 20 Jul 2009 14:00:29 -0700 Subject: [PATCH] have "search" as the reason when dismissing system dialogs for search. this way search can't dismiss itself. can't use the constant because it is in policy. would rather leave it this way instead of moving constants for system dialog dismissal to framework. --- policy/com/android/internal/policy/impl/PhoneWindow.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/com/android/internal/policy/impl/PhoneWindow.java b/policy/com/android/internal/policy/impl/PhoneWindow.java index d2d1421b248de..db43a9c8aa74e 100644 --- a/policy/com/android/internal/policy/impl/PhoneWindow.java +++ b/policy/com/android/internal/policy/impl/PhoneWindow.java @@ -2510,7 +2510,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback { if (cb == null) { return false; } else { - sendCloseSystemWindows(); + sendCloseSystemWindows("search"); return cb.onSearchRequested(); } }