mirror of
https://github.com/LineageOS/android_device_xiaomi_whyred.git
synced 2025-10-03 09:49:16 +02:00
lights: Adapt for sdm660
This commit is contained in:
parent
44aa3a9119
commit
b9eb4bc24c
3 changed files with 7 additions and 3 deletions
|
@ -15,9 +15,9 @@
|
|||
cc_binary {
|
||||
relative_install_path: "hw",
|
||||
defaults: ["hidl_defaults"],
|
||||
name: "android.hardware.light@2.0-service.xiaomi_msm8998",
|
||||
name: "android.hardware.light@2.0-service.xiaomi_sdm660",
|
||||
proprietary: true,
|
||||
init_rc: ["android.hardware.light@2.0-service.xiaomi_msm8998.rc"],
|
||||
init_rc: ["android.hardware.light@2.0-service.xiaomi_sdm660.rc"],
|
||||
srcs: ["service.cpp", "Light.cpp"],
|
||||
shared_libs: [
|
||||
"libhardware",
|
||||
|
|
|
@ -19,7 +19,7 @@ on boot
|
|||
# Button backlight
|
||||
chown system system /sys/class/leds/button-backlight1/brightness
|
||||
|
||||
service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_msm8998
|
||||
service light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_sdm660
|
||||
class hal
|
||||
user system
|
||||
group system
|
|
@ -127,3 +127,7 @@ PRODUCT_PACKAGES += \
|
|||
#Fingerprint
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sdm660
|
||||
|
||||
#Lights
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.light@2.0-service.xiaomi_sdm660
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue