From 90c74230d04f38551d87e37bc9f26a998ddbbe31 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Thu, 15 Sep 2022 22:13:20 +0800 Subject: [PATCH 1/2] Remove frequency boost of big cores for FACE_UNLOCK Bug: 245619770 Test: build Change-Id: I1ee5d3ad670de959eb1321926d1d739d6e12207d --- powerhint.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/powerhint.json b/powerhint.json index f1794a0..97081c6 100644 --- a/powerhint.json +++ b/powerhint.json @@ -1676,18 +1676,6 @@ "Duration": 0, "Value": "0,1,2,3" }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPUBigClusterMaxFreq", - "Duration": 1000, - "Value": "9999999" - }, - { - "PowerHint": "FACE_UNLOCK_BOOST", - "Node": "CPUBigClusterMinFreq", - "Duration": 1000, - "Value": "9999999" - }, { "PowerHint": "FACE_UNLOCK_BOOST", "Node": "CPU_LITTLE_TSKIN_BYPASS", From 34998e3264b7fda5c09b8a831ff07a211067fe2f Mon Sep 17 00:00:00 2001 From: Chase Wu Date: Mon, 12 Sep 2022 20:34:33 +0800 Subject: [PATCH 2/2] vibrator: disable f0 and redc compensation Since those feature was enabled in android T, disabling these features as android S version. Bug: 241353178 Test: check the value after device boot up Test: update PtsHapticsTestCases and run it Signed-off-by: Chase Wu Change-Id: I1b363136147beff334fba0ca1e065729dcfb57e4 Merged-In: I1b363136147beff334fba0ca1e065729dcfb57e4 --- device-bluejay.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/device-bluejay.mk b/device-bluejay.mk index 2ef5611..bc7d573 100644 --- a/device-bluejay.mk +++ b/device-bluejay.mk @@ -222,7 +222,9 @@ PRODUCT_SHIPPING_API_LEVEL := 32 # Vibrator HAL PRODUCT_VENDOR_PROPERTIES += \ - ro.vendor.vibrator.hal.supported_primitives=243 + ro.vendor.vibrator.hal.supported_primitives=243 \ + ro.vendor.vibrator.hal.f0.comp.enabled=0 \ + ro.vendor.vibrator.hal.redc.comp.enabled=0 # Device features PRODUCT_COPY_FILES += \