Fix issue #2445481: onNewIntent is called twice if SEARCH button is "long-pressed"

This commit is contained in:
Dianne Hackborn
2010-03-02 23:32:01 -08:00
parent 8b9dda28c9
commit c20115c500

View File

@@ -1244,6 +1244,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
// activity; otherwise we will allow the normal short
// press action to be performed.
dispatcher.performedLongPress(event);
return true;
} catch (ActivityNotFoundException e) {
// Ignore
}