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 <nathankulczak@google.com>
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 @@
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