Merge "Adjust javadoc for filter priority" into nyc-dev

This commit is contained in:
Todd Kennedy
2016-04-06 19:20:39 +00:00
committed by Android (Google) Code Review

View File

@@ -449,11 +449,12 @@ public class IntentFilter implements Parcelable {
}
/**
* Modify priority of this filter. The default priority is 0. Positive
* values will be before the default, lower values will be after it.
* Applications must use a value that is larger than
* {@link #SYSTEM_LOW_PRIORITY} and smaller than
* {@link #SYSTEM_HIGH_PRIORITY} .
* Modify priority of this filter. This only affects receiver filters.
* The priority of activity filters are set in XML and cannot be changed
* programatically. The default priority is 0. Positive values will be
* before the default, lower values will be after it. Applications should
* use a value that is larger than {@link #SYSTEM_LOW_PRIORITY} and
* smaller than {@link #SYSTEM_HIGH_PRIORITY} .
*
* @param priority The new priority value.
*