diff options
| author | 2011-02-26 16:07:51 -0800 | |
|---|---|---|
| committer | 2011-02-26 16:07:51 -0800 | |
| commit | 12511f64a05733d15d1a80a884b7b4711e7dd3b1 (patch) | |
| tree | c5fd4c1541920d2bacbf82ce1c127e28d6aa7e35 | |
| parent | 53ab993cd0e7397af7c79b4ba36210b3fbe2ee05 (diff) | |
| parent | 239f77d20adcc0e2ce67a7907b3f6ca75b13fd00 (diff) | |
Merge "Fix a regression matching intents when action doesn't matter."
| -rw-r--r-- | core/java/android/content/IntentFilter.java | 2 |
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; |