android:exported has to be explicitly set when targeting Android 12

This commit is contained in:
Benoit Marty 2021-11-09 11:29:21 +01:00 committed by Benoit Marty
parent 56776aed21
commit 756f846e74

View file

@ -14,7 +14,9 @@
<application>
<receiver android:name=".fdroid.receiver.OnApplicationUpgradeOrRebootReceiver">
<receiver
android:name=".fdroid.receiver.OnApplicationUpgradeOrRebootReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
<action android:name="android.intent.action.BOOT_COMPLETED" />