Loading core/java/android/content/IntentFilter.java +11 −11 Original line number Diff line number Diff line Loading @@ -358,8 +358,8 @@ public class IntentFilter implements Parcelable { * the {@link MalformedMimeTypeException} exception that the constructor * can call and turns it into a runtime exception. * * @param action The action to match, i.e. Intent.ACTION_VIEW. * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param action The action to match, such as Intent.ACTION_VIEW. * @param dataType The type to match, such as "vnd.android.cursor.dir/person". * * @return A new IntentFilter for the given action and type. * Loading @@ -386,7 +386,7 @@ public class IntentFilter implements Parcelable { * no data characteristics are subsequently specified, then the * filter will only match intents that contain no data. * * @param action The action to match, i.e. Intent.ACTION_MAIN. * @param action The action to match, such as Intent.ACTION_MAIN. */ public IntentFilter(String action) { mPriority = 0; Loading @@ -406,8 +406,8 @@ public class IntentFilter implements Parcelable { * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * not syntactically correct. * * @param action The action to match, i.e. Intent.ACTION_VIEW. * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param action The action to match, such as Intent.ACTION_VIEW. * @param dataType The type to match, such as "vnd.android.cursor.dir/person". * */ public IntentFilter(String action, String dataType) Loading Loading @@ -640,7 +640,7 @@ public class IntentFilter implements Parcelable { * in the filter, then an Intent's action must be one of those values for * it to match. If no actions are included, the Intent action is ignored. * * @param action Name of the action to match, i.e. Intent.ACTION_VIEW. * @param action Name of the action to match, such as Intent.ACTION_VIEW. */ public final void addAction(String action) { if (!mActions.contains(action)) { Loading Loading @@ -709,7 +709,7 @@ public class IntentFilter implements Parcelable { * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * not syntactically correct. * * @param type Name of the data type to match, i.e. "vnd.android.cursor.dir/person". * @param type Name of the data type to match, such as "vnd.android.cursor.dir/person". * * @see #matchData */ Loading Loading @@ -786,7 +786,7 @@ public class IntentFilter implements Parcelable { * and any schemes you receive from outside of Android should be * converted to lower case before supplying them here.</em></p> * * @param scheme Name of the scheme to match, i.e. "http". * @param scheme Name of the scheme to match, such as "http". * * @see #matchData */ Loading Loading @@ -1352,7 +1352,7 @@ public class IntentFilter implements Parcelable { * filter has no impact on matching unless that category is specified in * the intent. * * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED. * @param category Name of category to match, such as Intent.CATEGORY_EMBED. */ public final void addCategory(String category) { if (mCategories == null) mCategories = new ArrayList<String>(); Loading Loading
core/java/android/content/IntentFilter.java +11 −11 Original line number Diff line number Diff line Loading @@ -358,8 +358,8 @@ public class IntentFilter implements Parcelable { * the {@link MalformedMimeTypeException} exception that the constructor * can call and turns it into a runtime exception. * * @param action The action to match, i.e. Intent.ACTION_VIEW. * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param action The action to match, such as Intent.ACTION_VIEW. * @param dataType The type to match, such as "vnd.android.cursor.dir/person". * * @return A new IntentFilter for the given action and type. * Loading @@ -386,7 +386,7 @@ public class IntentFilter implements Parcelable { * no data characteristics are subsequently specified, then the * filter will only match intents that contain no data. * * @param action The action to match, i.e. Intent.ACTION_MAIN. * @param action The action to match, such as Intent.ACTION_MAIN. */ public IntentFilter(String action) { mPriority = 0; Loading @@ -406,8 +406,8 @@ public class IntentFilter implements Parcelable { * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * not syntactically correct. * * @param action The action to match, i.e. Intent.ACTION_VIEW. * @param dataType The type to match, i.e. "vnd.android.cursor.dir/person". * @param action The action to match, such as Intent.ACTION_VIEW. * @param dataType The type to match, such as "vnd.android.cursor.dir/person". * */ public IntentFilter(String action, String dataType) Loading Loading @@ -640,7 +640,7 @@ public class IntentFilter implements Parcelable { * in the filter, then an Intent's action must be one of those values for * it to match. If no actions are included, the Intent action is ignored. * * @param action Name of the action to match, i.e. Intent.ACTION_VIEW. * @param action Name of the action to match, such as Intent.ACTION_VIEW. */ public final void addAction(String action) { if (!mActions.contains(action)) { Loading Loading @@ -709,7 +709,7 @@ public class IntentFilter implements Parcelable { * <p>Throws {@link MalformedMimeTypeException} if the given MIME type is * not syntactically correct. * * @param type Name of the data type to match, i.e. "vnd.android.cursor.dir/person". * @param type Name of the data type to match, such as "vnd.android.cursor.dir/person". * * @see #matchData */ Loading Loading @@ -786,7 +786,7 @@ public class IntentFilter implements Parcelable { * and any schemes you receive from outside of Android should be * converted to lower case before supplying them here.</em></p> * * @param scheme Name of the scheme to match, i.e. "http". * @param scheme Name of the scheme to match, such as "http". * * @see #matchData */ Loading Loading @@ -1352,7 +1352,7 @@ public class IntentFilter implements Parcelable { * filter has no impact on matching unless that category is specified in * the intent. * * @param category Name of category to match, i.e. Intent.CATEGORY_EMBED. * @param category Name of category to match, such as Intent.CATEGORY_EMBED. */ public final void addCategory(String category) { if (mCategories == null) mCategories = new ArrayList<String>(); Loading