fixup! mediatek: vibrator: Refactor Vibrator HAL
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I19826f91e569520450bebb338b68f6408ee68353
diff --git a/aidl/vibrator/vibrator-mediatek.rc b/aidl/vibrator/vibrator-mediatek.rc
index f895bca..3b02f33 100644
--- a/aidl/vibrator/vibrator-mediatek.rc
+++ b/aidl/vibrator/vibrator-mediatek.rc
@@ -1,3 +1,7 @@
+on init
+ chown system system /sys/kernel/thunderquake_engine/level
+ chown 644 /sys/kernel/thunderquake_engine/level
+
service vendor.vibrator-mediatek /vendor/bin/hw/android.hardware.vibrator-service.mediatek
class hal
user system