Skip to content
Snippets Groups Projects
Commit 23e445a5 authored by Micheal's avatar Micheal Committed by Dhina17
Browse files

onclite: doze: 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
parent 532da33c
No related branches found
No related tags found
No related merge requests found
......@@ -34,19 +34,23 @@
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" />
</intent-filter>
</receiver>
<service android:name=".DozeService"
android:permission="XiaomiDozeService">
<service
android:name=".DozeService"
android:permission="XiaomiDozeService"
android:exported="true">
</service>
<activity
android:name=".DozeSettingsActivity"
android:exported="false"
android:label="@string/ambient_display_title"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment