sm6150-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 basamaryan
parent a0cab74d88
commit 816fb961ad
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2020 The LineageOS Project
2017-2023 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -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=".doze.DozeService"
android:permission="XiaomiDozeService">
android:permission="XiaomiDozeService"
android:exported="true">
</service>
<activity
android:name=".doze.DozeSettingsActivity"
android:exported="false"
android:label="@string/ambient_display_title"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>