* Let framework handle the other ones
* On devices without hardware effects DOUBLE_CLICK effect is just
a single click without this
* Let's only keep CLICK and TICK if no hardware effects are supported,
just like AOSP default vibrator impl
Change-Id: Ib8bf299a417d82fe6196e1b071b5a7b2f9c3e5d8
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.
Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
*Newer Samsung devices seem to control vibration intensity through /sys/class/timed_output/vibrator/enable instead of having a seperate node for intensity
*Therefore we need to write to the enable path instead
*Also set minimum intensity to 40 since that's the lowest value that's still noticeable
Signed-off-by: Simon1511 <simon2002.schoenmackers@gmail.com>
Change-Id: I402c5e0e77549ae8be38c43544357b1c4e847880