From a0670ae6e7a35bc1b2418f872424d428c9e0d324 Mon Sep 17 00:00:00 2001 From: Zouberou Sayibou Date: Tue, 3 Dec 2024 02:47:11 +0000 Subject: [PATCH 1/2] Revert "shusky/haptics: Remove voltage restriction for haptics" Revert submission 30661505-tdm_amplitude_limitation_removal_dvl Reason for revert: short time to properly test before 25q1 cut-off. Reverted changes: /q/submissionid:30661505-tdm_amplitude_limitation_removal_dvl Bug: 318476589 Change-Id: I7d0fc0f64aa41cd901797cfc4a81eb41e7de1c05 --- husky/overlay/frameworks/base/core/res/res/values/config.xml | 3 +++ .../overlay/frameworks/base/core/res/res/values/config.xml | 2 ++ shiba/overlay/frameworks/base/core/res/res/values/config.xml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/husky/overlay/frameworks/base/core/res/res/values/config.xml b/husky/overlay/frameworks/base/core/res/res/values/config.xml index a543d1a..893d3ba 100644 --- a/husky/overlay/frameworks/base/core/res/res/values/config.xml +++ b/husky/overlay/frameworks/base/core/res/res/values/config.xml @@ -300,6 +300,9 @@ true + + 0.335 + 105% diff --git a/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml b/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml index 97d8b95..40dd9d6 100644 --- a/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml +++ b/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml @@ -231,4 +231,6 @@ 283 + + 0.335 diff --git a/shiba/overlay/frameworks/base/core/res/res/values/config.xml b/shiba/overlay/frameworks/base/core/res/res/values/config.xml index b2a1a13..fcbbc46 100644 --- a/shiba/overlay/frameworks/base/core/res/res/values/config.xml +++ b/shiba/overlay/frameworks/base/core/res/res/values/config.xml @@ -294,6 +294,9 @@ true + + 0.335 + 105% From fc98bc4ea67cb3f03b2680610894a154c48bcc49 Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 5 Dec 2024 11:43:32 +0000 Subject: [PATCH 2/2] audio: align volume curve Bug: 382270418 Test: n/a Flag: EXEMPT bugfix Change-Id: I396b61b57a07307285abeffa911fafdb04221e91 --- .../aidl_config/audio_policy_volumes.xml | 106 +++++++++++------- audio/shiba/aidl_config/mixer_paths_aidl.xml | 2 +- 2 files changed, 66 insertions(+), 42 deletions(-) diff --git a/audio/shiba/aidl_config/audio_policy_volumes.xml b/audio/shiba/aidl_config/audio_policy_volumes.xml index 3fe738d..b087a21 100644 --- a/audio/shiba/aidl_config/audio_policy_volumes.xml +++ b/audio/shiba/aidl_config/audio_policy_volumes.xml @@ -51,8 +51,14 @@ volume index from 0 to 100. 66,-2200 100,-1800 - + + 1,-4500 + 29,-3400 + 57,-2250 + 71,-1900 + 86,-1530 + 100,-1100 + - 1,-2970 - 33,-2010 - 66,-1020 + 1,-4000 + 29,-2950 + 43,-2350 + 57,-1850 + 71,-1400 + 86,-700 100,0 - 1,-6438 - 4,-6438 - 8,-5961 - 12,-5543 - 16,-5167 - 20,-4743 - 24,-4391 - 28,-4061 - 32,-3871 - 36,-3673 - 40,-3471 - 44,-3273 - 48,-3065 - 52,-2850 - 56,-2618 - 60,-2355 - 64,-2060 - 68,-1773 - 72,-1482 - 76,-1205 - 80,-989 - 84,-791 - 88,-578 - 92,-374 - 96,-137 + 1,-5927 + 4,-5927 + 8,-5574 + 12,-5281 + 16,-4952 + 20,-4562 + 24,-4213 + 28,-3838 + 32,-3600 + 36,-3385 + 40,-3116 + 44,-2927 + 48,-2665 + 52,-2436 + 56,-2181 + 60,-1985 + 64,-1743 + 68,-1553 + 72,-1427 + 76,-1166 + 80,-1045 + 84,-895 + 88,-644 + 92,-486 + 96,-209 100,0 - 0,-2970 - 33,-2010 - 66,-1020 + 0,-5600 + 29,-3520 + 57,-1500 + 71,-1150 + 86,-500 100,0 - 1,-2970 - 33,-2010 - 66,-1020 - 100,0 + 1,-4500 + 29,-3800 + 71,-1850 + 86,-1000 + 100,-500 @@ -165,8 +177,14 @@ volume index from 0 to 100. 66,-2200 100,-1800 - + + 1,-4500 + 29,-3400 + 57,-2250 + 71,-1900 + 86,-1530 + 100,-1100 + 66,-2200 100,-1800 - + + 1,-5700 + 29,-4230 + 43,-3300 + 57,-3100 + 71,-2500 + 100,-1400 + - +