From b1acfc42d6ea23ee96d66536d6133465d3400514 Mon Sep 17 00:00:00 2001 From: Chris Paulo Date: Wed, 23 Nov 2022 20:03:29 +0000 Subject: [PATCH] [DO NOT MERGE] device/vibrator: Disable adaptive haptics feature for b3 Disable the adaptive haptics feature temporarily for qpr2 release Bug: 260247920 Test: Verified feature disabled on device Change-Id: If9929744ac798f69cf8ee73529f16badcfcb302a Signed-off-by: Chris Paulo --- vibrator/cs40l26/Android.bp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vibrator/cs40l26/Android.bp b/vibrator/cs40l26/Android.bp index 722f0e5..1867087 100644 --- a/vibrator/cs40l26/Android.bp +++ b/vibrator/cs40l26/Android.bp @@ -81,6 +81,9 @@ cc_library_shared { "Vibrator.cpp", "CapoDetector.cpp", ], + cflags: [ + "-DDISABLE_ADAPTIVE_HAPTICS_FEATURE", + ], static_libs: [ "chre_client", ],