OSDN Git Service

Fix IntentFilter constructor to properly process the action parameter.
authorPhil Dubach <phillipd@google.com>
Fri, 12 Jun 2009 01:50:40 +0000 (18:50 -0700)
committerPhil Dubach <phillipd@google.com>
Fri, 12 Jun 2009 01:50:40 +0000 (18:50 -0700)
core/java/android/content/IntentFilter.java

index e5c5dc8..365f269 100644 (file)
@@ -366,6 +366,7 @@ public class IntentFilter implements Parcelable {
         throws MalformedMimeTypeException {
         mPriority = 0;
         mActions = new ArrayList<String>();
+        addAction(action);
         addDataType(dataType);
     }