ModemConfig: Set explicit value for android:exported

Since the broadcast receiver doesn't need to receive messages from non-system sources outside its application this can be set to false.

Fixes: W PackageManager: Failed to parse /vendor/priv-app/ModemConfig: /vendor/priv-app/ModemConfig/ModemConfig.apk (at Binary XML file line #7): com.sony.opentelephony.modemconfig.BootReceiver: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present

Change-Id: Ia55f0104b979c935e388de99230013d89298600d
This commit is contained in:
Danny Trunk 2022-03-30 18:37:25 +02:00 • committed by Bruno Martins
commit a16f3d5f07

View file

@ -12,7 +12,8 @@
android:persistent="true">
<receiver
android:name=".BootReceiver"
android:enabled="true">
android:enabled="true"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />