From 48101c199701a64d7dc77192a1d03fed8f343245 Mon Sep 17 00:00:00 2001 From: Vincent Wang Date: Thu, 9 Jun 2022 23:05:08 +0800 Subject: [PATCH 1/2] Move haptic from FaceAuthenticationClient to SysUI(2/2) Disable haptic from biometric framework & enable haptic in SysUI BUG: 231756704 Test: Check if the haptic is abnormal on C10/P10 Change-Id: I40745b34fb6a75318f180c438bbfa7fa461e445a --- .../base/core/res/res/values/bools.xml | 20 +++++++++++++++++++ .../base/core/res/res/values/bools.xml | 20 +++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 cheetah/overlay/frameworks/base/core/res/res/values/bools.xml create mode 100644 panther/overlay/frameworks/base/core/res/res/values/bools.xml diff --git a/cheetah/overlay/frameworks/base/core/res/res/values/bools.xml b/cheetah/overlay/frameworks/base/core/res/res/values/bools.xml new file mode 100644 index 0000000..9e75363 --- /dev/null +++ b/cheetah/overlay/frameworks/base/core/res/res/values/bools.xml @@ -0,0 +1,20 @@ + + + + false + diff --git a/panther/overlay/frameworks/base/core/res/res/values/bools.xml b/panther/overlay/frameworks/base/core/res/res/values/bools.xml new file mode 100644 index 0000000..9e75363 --- /dev/null +++ b/panther/overlay/frameworks/base/core/res/res/values/bools.xml @@ -0,0 +1,20 @@ + + + + false + From c057b09ee7aa7d642b9c666dd5b4e3cc71e87e07 Mon Sep 17 00:00:00 2001 From: Robert Lee Date: Thu, 9 Jun 2022 14:18:27 +0800 Subject: [PATCH 2/2] audio: enable gapless offload flag Enable gapless support on compressed_offload w/o trimming delay and padding. Bug: 230305456 Test: test with AOSP Music and MediaMonkey Change-Id: Ie1129a5323a2225c895cb3f1b332065bc5924075 Signed-off-by: Robert Lee --- audio/cheetah/config/audio_policy_configuration.xml | 2 +- audio/cheetah/config/mixer_paths.xml | 3 +++ audio/panther/config/audio_policy_configuration.xml | 2 +- audio/panther/config/mixer_paths.xml | 3 +++ 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/audio/cheetah/config/audio_policy_configuration.xml b/audio/cheetah/config/audio_policy_configuration.xml index 692704e..208d290 100644 --- a/audio/cheetah/config/audio_policy_configuration.xml +++ b/audio/cheetah/config/audio_policy_configuration.xml @@ -37,7 +37,7 @@ samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD"> diff --git a/audio/cheetah/config/mixer_paths.xml b/audio/cheetah/config/mixer_paths.xml index b1bad77..6c148f6 100644 --- a/audio/cheetah/config/mixer_paths.xml +++ b/audio/cheetah/config/mixer_paths.xml @@ -30,6 +30,9 @@ + + + diff --git a/audio/panther/config/audio_policy_configuration.xml b/audio/panther/config/audio_policy_configuration.xml index 692704e..208d290 100644 --- a/audio/panther/config/audio_policy_configuration.xml +++ b/audio/panther/config/audio_policy_configuration.xml @@ -37,7 +37,7 @@ samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> + flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD"> diff --git a/audio/panther/config/mixer_paths.xml b/audio/panther/config/mixer_paths.xml index b1bad77..6c148f6 100644 --- a/audio/panther/config/mixer_paths.xml +++ b/audio/panther/config/mixer_paths.xml @@ -30,6 +30,9 @@ + + +