Skip to content

Commit 7573095

Browse files
committed
dumpling: Configure permissions for tri-state key
1 parent 0f7b35b commit 7573095

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

rootdir/root/init.target.rc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,14 @@ on boot
252252
chown system system /sys/class/timed_output/vibrator/wf_rep
253253
chown system system /sys/class/timed_output/vibrator/wf_s_rep
254254

255+
# Tri-state key
256+
chown root system /proc/tri-state-key/keyCode_top
257+
chmod 0660 /proc/tri-state-key/keyCode_top
258+
chown root system /proc/tri-state-key/keyCode_middle
259+
chmod 0660 /proc/tri-state-key/keyCode_middle
260+
chown root system /proc/tri-state-key/keyCode_bottom
261+
chmod 0660 /proc/tri-state-key/keyCode_bottom
262+
255263
#fingerprint service
256264
service fingerprintd /system/bin/fingerprintd
257265
class late_start

0 commit comments

Comments
 (0)