From 9f04a3ff7f750af359a88758a67603214eadb0b7 Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Sun, 2 Sep 2018 12:12:55 +0200 Subject: [PATCH] sdm845-common: lights: Update service entry for P Change-Id: I3f557e1c2fc774e11326e0dc769fc7d25852d819 --- lights/android.hardware.light@2.0-service.oneplus_sdm845.rc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc b/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc index d7ba29d..2407077 100644 --- a/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc +++ b/lights/android.hardware.light@2.0-service.oneplus_sdm845.rc @@ -6,7 +6,10 @@ on boot chown system system /sys/class/leds/green/lut_flags chown system system /sys/class/leds/blue/lut_flags -service light-hal-2-0 /system/bin/hw/android.hardware.light@2.0-service.oneplus_sdm845 +service vendor.light-hal-2-0 /system/bin/hw/android.hardware.light@2.0-service.oneplus_sdm845 + interface android.hardware.light@2.0::ILight default class hal user system group system + # shutting off lights while powering-off + shutdown critical