summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2011-02-26 16:07:51 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-02-26 16:07:51 -0800
commit12511f64a05733d15d1a80a884b7b4711e7dd3b1 (patch)
treec5fd4c1541920d2bacbf82ce1c127e28d6aa7e35
parent53ab993cd0e7397af7c79b4ba36210b3fbe2ee05 (diff)
parent239f77d20adcc0e2ce67a7907b3f6ca75b13fd00 (diff)
Merge "Fix a regression matching intents when action doesn't matter."
-rw-r--r--core/java/android/content/IntentFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/IntentFilter.java b/core/java/android/content/IntentFilter.java
index 61d74248c6be..06c1ecbc020b 100644
--- a/core/java/android/content/IntentFilter.java
+++ b/core/java/android/content/IntentFilter.java
@@ -1094,7 +1094,7 @@ public class IntentFilter implements Parcelable {
*/
public final int match(String action, String type, String scheme,
Uri data, Set<String> categories, String logTag) {
- if (!matchAction(action)) {
+ if (action != null && !matchAction(action)) {
if (Config.LOGV) Log.v(
logTag, "No matching action " + action + " for " + this);
return NO_MATCH_ACTION;