summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2017-08-17 17:24:09 -0700
committer Christopher Tate <ctate@google.com> 2017-08-17 17:24:09 -0700
commit615b37fbacb069affb6294b7dc9ce6474a848bf7 (patch)
tree1767bb53708b286361a215a1234c1cf18faff530
parent1b08a4a8a3271f04b98c34747fe077610b7ee534 (diff)
Add Audio effect session intent to config file
Currently audio effect panel can't receive session intent if app targetSdkVersion is Android O or later. Because the intent is limited on background. However this kind of application needs to receive the intent when application plays music. Bug: 62777192 Test: manual Cherrypick of partner CL 870245 Change-Id: Ibcebb938fa9177a9b0a7be079b1c7374ba9424ee
-rw-r--r--data/etc/framework-sysconfig.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/etc/framework-sysconfig.xml b/data/etc/framework-sysconfig.xml
index 3a81c1309a8b..ae6a7f6d6808 100644
--- a/data/etc/framework-sysconfig.xml
+++ b/data/etc/framework-sysconfig.xml
@@ -22,6 +22,8 @@
<allow-implicit-broadcast action="android.intent.action.SIM_STATE_CHANGED" />
<allow-implicit-broadcast action="android.intent.action.PACKAGE_CHANGED" />
<allow-implicit-broadcast action="android.intent.action.MEDIA_SCANNER_SCAN_FILE" />
+ <allow-implicit-broadcast action="android.media.action.OPEN_AUDIO_EFFECT_CONTROL_SESSION" />
+ <allow-implicit-broadcast action="android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION" />
<!-- Whitelist of what components are permitted as backup data transports. The
'service' attribute here is a flattened ComponentName string. -->