是否有点为无序广播的意图过滤器设置优先级



文档只提到"该顺序仅适用于同步消息;对于异步消息,它将被忽略。这是否意味着Android只查看"有序广播"的优先级?

  <receiver android:name=".receivers.PhoneStateReceiver" >
        <!-- TODO it's supposed to be an un-ordered broadcast -->
        <intent-filter android:priority="99999999999" >
            <action android:name="android.intent.action.PHONE_STATE" />
        </intent-filter>
    </receiver>

。使上述"优先级"毫无用处?

这是否意味着Android只查看"有序广播"的优先级?

是的。

。使上述"优先级"毫无用处?

我不知道PHONE_STATE是否被订购。

相关内容

最新更新