platform_hardware_xiaomi/vibrator/effect/Android.bp
Arian b144a0aea4 vibrator: effect: Create double click effect from click if necessary
Unfortunately, xiaomi did not implement a proper double click effect
on many devices. If a device does not provide fifo data for this
effect, play the click effect twice with a pause in between instead.

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: Iac1bc924d078b45684072ec64e992a38507e908b
2024-08-29 19:19:19 +00:00

21 lines
412 B
Text

Common_CFlags = ["-Wall"]
Common_CFlags += ["-Werror"]
cc_library_shared {
name: "libqtivibratoreffect.xiaomi",
vendor: true,
cflags: Common_CFlags,
srcs: [
"effect.cpp",
],
shared_libs: [
"android.hardware.vibrator-V2-ndk",
"libbase",
"libcutils",
"libutils",
],
static_libs: [
"libc++fs",
],
export_include_dirs: ["."]
}