sdm660-common: DeviceDoze: 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
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
Micheal 2021-10-21 15:30:27 +08:00 committed by pix106
parent 09b0db751d
commit b7255c6416

View file

@ -34,7 +34,8 @@
android:label="@string/device_settings_app_name"
android:persistent="true">
<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" />
@ -42,11 +43,13 @@
</receiver>
<service android:name=".DozeService"
android:permission="DeviceDozeService">
android:permission="DeviceDozeService"
android:exported="true">
</service>
<activity
android:name=".DozeSettingsActivity"
android:exported="false"
android:label="@string/ambient_display_title"
android:theme="@style/Theme.Main">
<intent-filter>