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


what integer value gives broadcast receiver highest priority?

<intent-filter android:priority="1">   <action android:name="android.provider.telephony.sms_received" /> </intent-filter> 

well, according documentation

"the value must integer, such "100". higher numbers have higher priority." 

so i'm guessing integer value valid. , highest priority possible maximum integer android allows, (2^31 - 1).

edit

the documentation has been updated, , explicitly states priority values may used applications. documentation says

system_high_priority (1000): applications should never use filters or higher priorities. system_low_priority (-1000): applications should never use filters or lower priorities.

implying application permitted use integer priority levels between -999 , 999.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -