MotoActions: 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: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
This commit is contained in:
Michael Bestas 2022-01-29 18:27:21 +01:00 committed by Sevenrock
parent a3fed85a0f
commit efbbd4c461

View File

@ -18,14 +18,19 @@
android:label="@string/device_settings_app_name" android:label="@string/device_settings_app_name"
android:persistent="true"> android:persistent="true">
<receiver android:name="org.lineageos.settings.device.BootCompletedReceiver"> <receiver
android:name="org.lineageos.settings.device.BootCompletedReceiver"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<service android:name="ServiceWrapper" android:permission="ServiceWrapper"> <service
android:name="ServiceWrapper"
android:permission="ServiceWrapper"
android:exported="false">
<intent-filter> <intent-filter>
<action android:name="ServiceWrapper"/> <action android:name="ServiceWrapper"/>
</intent-filter> </intent-filter>
@ -33,6 +38,7 @@
<activity <activity
android:name=".DozePreferenceActivity" android:name=".DozePreferenceActivity"
android:exported="false"
android:label="@string/ambient_display_gestures_title" android:label="@string/ambient_display_gestures_title"
android:theme="@style/MotoActions"> android:theme="@style/MotoActions">
<intent-filter> <intent-filter>
@ -48,6 +54,7 @@
<activity <activity
android:name=".ActionsPreferenceActivity" android:name=".ActionsPreferenceActivity"
android:exported="false"
android:label="@string/moto_gestures_panel_title" android:label="@string/moto_gestures_panel_title"
android:theme="@style/MotoActions"> android:theme="@style/MotoActions">
<intent-filter> <intent-filter>