sdm710-common: parts: Add an exported flag in manifest

Targeting S+ (version 31 and above) requires that an explicit value
for android:exported be defined when intent filters are present

Change-Id: I12d27c23624eb5259da582b86ac1bd7572754f0c
This commit is contained in:
Micheal
2021-10-17 17:01:03 +02:00
committed by Sebastiano Barezzi
parent 56996c6546
commit d15276966f

View File

@@ -33,19 +33,24 @@
android:persistent="true"
android:theme="@style/Theme.SubSettingsBase">
<receiver android:name=".BootCompletedReceiver">
<receiver
android:name=".BootCompletedReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service android:name=".doze.DozeService"
android:permission="XiaomiDozeService">
<service
android:name=".doze.DozeService"
android:exported="true"
android:permission="XiaomiDozeService">
</service>
<activity
android:name=".doze.DozeSettingsActivity"
android:exported="false"
android:label="@string/ambient_display_title">
<intent-filter>
<action android:name="org.lineageos.settings.device.DOZE_SETTINGS" />