I have a BroadcastReciever with an intent filter for calendar changes along with other intent filters.
<receiver android:name=".AppBroadcastReceiver">
<intent-filter>
<action android:name="android.intent.action.PROVIDER_CHANGED" />
<data android:scheme="content" />
<data android:host="com.android.calendar" />
</intent-filter>
...
</receiver>
Is it possible to disable the intent filter based on the SDK version? With SDK 24 and later, I should use JobScheduler instead.