summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Phil Dubach <phillipd@google.com> 2009-06-11 18:50:40 -0700
committer Phil Dubach <phillipd@google.com> 2009-06-11 18:50:40 -0700
commit56e78d9a04dc779d40bd45710b4706f25d841cb5 (patch)
tree474e15831e164d35e985acfd690756a039b587e1
parentfa699ea22a13a92694de75ef948a81da23e71642 (diff)
Fix IntentFilter constructor to properly process the action parameter.
-rw-r--r--core/java/android/content/IntentFilter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/content/IntentFilter.java b/core/java/android/content/IntentFilter.java
index e5c5dc8a5e0c..365f26983a33 100644
--- a/core/java/android/content/IntentFilter.java
+++ b/core/java/android/content/IntentFilter.java
@@ -366,6 +366,7 @@ public class IntentFilter implements Parcelable {
throws MalformedMimeTypeException {
mPriority = 0;
mActions = new ArrayList<String>();
+ addAction(action);
addDataType(dataType);
}