diff --git a/platform.mk b/platform.mk index 29052b7..ff9ff55 100644 --- a/platform.mk +++ b/platform.mk @@ -39,7 +39,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ $(SONY_ROOT)/vendor/etc/audio_tuning_mixer_tasha.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tasha.txt \ $(SONY_ROOT)/vendor/etc/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ - $(SONY_ROOT)/vendor/etc/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml + $(SONY_ROOT)/vendor/etc/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ + $(SONY_ROOT)/vendor/etc/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \ + $(SONY_ROOT)/vendor/etc/common_primary_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/common_primary_audio_policy_configuration.xml # Media PRODUCT_COPY_FILES += \ diff --git a/rootdir/vendor/etc/audio_policy_configuration.xml b/rootdir/vendor/etc/audio_policy_configuration.xml index 344c0ef..6088717 100644 --- a/rootdir/vendor/etc/audio_policy_configuration.xml +++ b/rootdir/vendor/etc/audio_policy_configuration.xml @@ -14,12 +14,12 @@ limitations under the License. --> - + - - + - + - - Speaker - Earpiece - Telephony Tx - Built-In Mic - Built-In Back Mic - Telephony Rx - - Speaker - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + - + - + + + + - - + + diff --git a/rootdir/vendor/etc/audio_policy_configuration_bluetooth_legacy_hal.xml b/rootdir/vendor/etc/audio_policy_configuration_bluetooth_legacy_hal.xml new file mode 100644 index 0000000..5c0c942 --- /dev/null +++ b/rootdir/vendor/etc/audio_policy_configuration_bluetooth_legacy_hal.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rootdir/vendor/etc/common_primary_audio_policy_configuration.xml b/rootdir/vendor/etc/common_primary_audio_policy_configuration.xml new file mode 100644 index 0000000..127c132 --- /dev/null +++ b/rootdir/vendor/etc/common_primary_audio_policy_configuration.xml @@ -0,0 +1,112 @@ + + + + + Speaker + Earpiece + Telephony Tx + Built-In Mic + Built-In Back Mic + Telephony Rx + + Speaker + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file