AdvancedDisplay: Add exported flags 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
tirimbino
Michael Bestas 3 years ago committed by Francescodario Cuzzocrea
parent bde5edaf1d
commit 3a3a22e0cf
  1. 7
      AdvancedDisplay/AndroidManifest.xml

@ -8,7 +8,9 @@
<application
android:label="@string/app_name"
android:theme="@style/Theme.SubSettingsBase">
<receiver android:name="org.lineageos.settings.device.BootCompletedReceiver">
<receiver
android:name="org.lineageos.settings.device.BootCompletedReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
@ -17,7 +19,8 @@
<activity
android:name=".AdvancedDisplayActivity"
android:label="@string/app_name">
android:label="@string/app_name"
android:exported="true">
<intent-filter>
<action android:name="com.android.settings.action.EXTRA_SETTINGS" />
</intent-filter>

Loading…
Cancel
Save