What is the integer value that gives a broadcast receiver highest priority?

Viewed 15862

What is the integer value the gives a broadcast receiver the highest priority?

<intent-filter android:priority="1">
  <action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
6 Answers

Actually, numbers above 1000 grant more priority, despite the documentation. So the highest integer number(2147483647) grants more priority.

Applications should avoid using filters with "this" or higher priorities. "this" refers to the value "1000"

Related