sm8250-common: import lights aidl
from https://github.com/LineageOS/android_device_motorola_nio e3a36424d4a7de739661061c3bd6fc2c5102da50
This commit is contained in:
parent
8a5a91933d
commit
371fc634d0
7 changed files with 285 additions and 0 deletions
11
lights/android.hardware.lights.motokona.rc
Normal file
11
lights/android.hardware.lights.motokona.rc
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
service vendor.light /vendor/bin/hw/android.hardware.lights-service.motokona
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
shutdown critical
|
||||
|
||||
on boot
|
||||
chown system system /sys/class/leds/charging/breath
|
||||
chown system system /sys/class/leds/charging/brightness
|
||||
chown system system /sys/class/leds/charging/delay_off
|
||||
chown system system /sys/class/leds/charging/delay_on
|
||||
Loading…
Add table
Add a link
Reference in a new issue