diff options
author | Roman Birg <roman@cyngn.com> | 2014-11-17 16:28:12 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2014-11-18 17:43:39 +0000 |
commit | 64421f7d333881c5a34c849bae05bb182c2a18f8 (patch) | |
tree | 4a0f613b63bd3a6fb505b5ded1f1d954e353fbff | |
parent | 1a2ad98c8f3a4723bd4c01c98e16c42ff03b96e1 (diff) | |
download | android_frameworks_base-64421f7d333881c5a34c849bae05bb182c2a18f8.tar.gz android_frameworks_base-64421f7d333881c5a34c849bae05bb182c2a18f8.tar.bz2 android_frameworks_base-64421f7d333881c5a34c849bae05bb182c2a18f8.zip |
frameworks: add alwaysRequestAudioFocusForCalls overlay
Change-Id: I0e3e5dd0741d295cdb6cbb0867f19a83c3363dc5
Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r-- | core/res/res/values/config.xml | 6 | ||||
-rw-r--r-- | core/res/res/values/symbols.xml | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 12772cbbb0d..1b5201d606f 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -1563,4 +1563,10 @@ <!-- Ignored sms packages --> <string-array name="config_ignored_sms_packages"></string-array> + + <!-- Whether to always request audio focus for incoming calls. + Default is false: silent and vibrate modes will not request audio focus. + true: all incoming calls will request audio focus (overriding any active music) + --> + <bool name="config_alwaysRequestAudioFocusForCalls">false</bool> </resources> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 09d50600679..d17e946992a 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -1828,6 +1828,7 @@ <java-symbol type="string" name="config_deviceKeyHandlerLib" /> <java-symbol type="string" name="config_deviceKeyHandlerClass" /> <java-symbol type="bool" name="config_batterySdCardAccessibility" /> + <java-symbol type="bool" name="config_alwaysRequestAudioFocusForCalls" /> <!-- Telephony --> <java-symbol type="bool" name="config_smsSamsungCdmaAlternateMessageIDEncoding" /> |