From 25ac4cc5eca8d65904b02bae637ca5cb840de640 Mon Sep 17 00:00:00 2001 From: Nathan Kulczak Date: Wed, 9 Oct 2024 03:51:31 +0000 Subject: [PATCH] Vibrator: Add enable_pwle_v2 Add new flag to control status of CAP_COMPOSE_PWLE_EFFECTS_V2 Flag: vendor.vibrator.hal.flags.enable_pwle_v2 Bug: 346570576 Test: Flash to device and test with setprop Change-Id: I9c004be51284bb6d044a1cb9327ea0502cc4f352 Signed-off-by: Nathan Kulczak --- vibrator/flags/VibratorFlags.aconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vibrator/flags/VibratorFlags.aconfig b/vibrator/flags/VibratorFlags.aconfig index ec6e2d4..3e0a6fd 100644 --- a/vibrator/flags/VibratorFlags.aconfig +++ b/vibrator/flags/VibratorFlags.aconfig @@ -8,3 +8,11 @@ flag { description: "This flag controls the removal of utilizing Capo at the HAL level" bug: "290223630" } + +flag { + name: "enable_pwle_v2" + namespace: "vibrator" + is_exported: true + description: "This flag enables the PWLE V2 APIs guarded by the CAP_COMPOSE_PWLE_EFFECTS_V2 compatability" + bug: "346570576" +} \ No newline at end of file