sm6250-common: lights: Rebrand to Xiaomi SM6250

Change-Id: I3c2ec7f68b0d845ea15277e396194409f8ebe216
This commit is contained in:
Sebastiano Barezzi 2021-05-08 17:19:36 +02:00 committed by Alexander Winkowski
parent c755af1f0d
commit b4e037ad8e
No known key found for this signature in database
GPG Key ID: 72762A66704CDE44
6 changed files with 12 additions and 9 deletions

View File

@ -190,7 +190,7 @@ PRODUCT_PACKAGES += \
# Lights
PRODUCT_PACKAGES += \
android.hardware.lights-service.example
android.hardware.lights-service.xiaomi_atoll
# Rootdir
PRODUCT_PACKAGES += \

View File

@ -1,8 +1,8 @@
cc_binary {
name: "android.hardware.lights-service.example",
name: "android.hardware.lights-service.xiaomi_atoll",
relative_install_path: "hw",
init_rc: ["lights-default.rc"],
vintf_fragments: ["lights-default.xml"],
init_rc: ["lights-xiaomi_atoll.rc"],
vintf_fragments: ["lights-xiaomi_atoll.xml"],
vendor: true,
shared_libs: [
"libbase",

View File

@ -1,5 +0,0 @@
service vendor.light-default /vendor/bin/hw/android.hardware.lights-service.example
class hal
user nobody
group nobody
shutdown critical

View File

@ -0,0 +1,5 @@
service vendor.light-xiaomi_atoll /vendor/bin/hw/android.hardware.lights-service.xiaomi_atoll
class hal
user nobody
group nobody
shutdown critical

View File

@ -1,2 +1,5 @@
# Fingerprint
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2.1-service\.xiaomi_atoll u:object_r:hal_fingerprint_default_exec:s0
# Lights
/vendor/bin/hw/android\.hardware\.lights-service\.xiaomi_atoll u:object_r:hal_light_default_exec:s0