Nadawca najwyższego priorytetu nie działa

Robię aplikację korzystającą z obsługi ACTION_MEDIA_BUTTON, ale wygląda na to, że jest ona zawsze przechwytywana przez MX Player lub Apollo i nie mam zamiaru

Próbowałem ustawić zarówno priorytet 1000, jak i 2147483647 w tagu i bezpośrednio po konstruktorze z setPriority

Aplikacje działają, gdy nie ma odtwarzacza MX Player lub Apollo

Próbowałem również użyć aplikacji Headset Interceptor z Google Play, próbowałem odmówić zdarzenia MX Player z aplikacją Autostarts - nic nie pomaga

w onCreate:

IntentFilter filter = new IntentFilter(Intent.ACTION_MEDIA_BUTTON);
filter.addAction(Intent.ACTION_HEADSET_PLUG);
filter.setPriority(1000);
registerReceiver(receiver, filter);

w odbiorniku

@Override
public void onReceive(Context context, Intent intent) {
    if (Intent.ACTION_MEDIA_BUTTON.equals(intent.getAction())) {
        // NEVER REACHES HERE WHEN MX PLAYER PRESENT. WORKS IF NOT

w manifestie

<receiver
    android:name="BCreceiver"
    android:enabled="true">
    <intent-filter android:priority="1000">
        <action android:name="android.intent.action.MEDIA_BUTTON" />
        <action android:name="android.intent.action.HEADSET_PLUG" />
    </intent-filter>
</receiver>

questionAnswers(4)

yourAnswerToTheQuestion