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:
@@ -2510,7 +2510,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
|
||||
if (cb == null) {
|
||||
return false;
|
||||
} else {
|
||||
sendCloseSystemWindows();
|
||||
sendCloseSystemWindows("search");
|
||||
return cb.onSearchRequested();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user