summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2021-10-11 18:50:18 +0300
committerMichael Bestas <mkbestas@lineageos.org>2022-12-03 04:46:45 +0200
commitae2c3e51923b6aebf3e9f512d4dd41db94c73b39 (patch)
tree20c4ba6fa6f2a2d29b0f5cb41c1852dfc47f5605
parente3e5e808f9b9246dd1eadbf47aba294237eff615 (diff)
AudioFX: Add exported flags in manifest
Targeting S+ (version 31 and above) requires an explicit value for android:exported to be defined when intent filters are present. Change-Id: I2ce2b2cd1dcd69e343ae8577587483b19d825fdc
-rw-r--r--AndroidManifest.xml20
1 files changed, 11 insertions, 9 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9e553a9..b4cfef4 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -42,6 +42,7 @@
android:name=".activity.ActivityMusic"
android:theme="@style/AppThemeV2"
android:label="@string/app_name_lineage"
+ android:exported="true"
android:launchMode="singleInstance"
android:configChanges="locale|orientation">
<intent-filter>
@@ -58,8 +59,8 @@
android:theme="@*android:style/Theme.Material.Dialog.Alert"
android:excludeFromRecents="true"/>
- <receiver
- android:name="Compatibility$Receiver">
+ <receiver android:name="Compatibility$Receiver"
+ android:exported="true">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_ADDED"/>
<data android:scheme="package"/>
@@ -74,12 +75,11 @@
</intent-filter>
</receiver>
- <service
- android:name="Compatibility$Service"
- android:exported="false"/>
+ <service android:name="Compatibility$Service"
+ android:exported="false"/>
- <activity
- android:name="Compatibility$Redirector">
+ <activity android:name="Compatibility$Redirector"
+ android:exported="true">
<intent-filter
android:priority="2147483647">
<action android:name="android.media.action.DISPLAY_AUDIO_EFFECT_CONTROL_PANEL"/>
@@ -89,7 +89,8 @@
<service android:name=".service.AudioFxService"/>
- <receiver android:name=".receiver.ServiceDispatcher">
+ <receiver android:name=".receiver.ServiceDispatcher"
+ android:exported="true">
<intent-filter>
<action android:name="android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION"/>
<action android:name="android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION"/>
@@ -97,7 +98,8 @@
</intent-filter>
</receiver>
- <receiver android:name=".service.BootReceiver">
+ <receiver android:name=".service.BootReceiver"
+ android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>