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.
This commit is contained in:
Karl Rosaen
2009-07-20 14:00:29 -07:00
parent 78866b1e07
commit 323216beeb

View File

@@ -2510,7 +2510,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
if (cb == null) {
return false;
} else {
sendCloseSystemWindows();
sendCloseSystemWindows("search");
return cb.onSearchRequested();
}
}