sdm660-common: power-libperfmgr: let power hal start early

Bug: 162791243
Bug: 72471476
Test: build and using emul temp/running burn8 to verify it
Change-Id: I5ca475be8b73b940e4858634595a7918ae92f6ef
(cherry picked from commit 35e110fe669a7d2996ce503d7e31204554f972e3)

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
This commit is contained in:
Kyle Lin 2021-05-26 00:18:16 +08:00 committed by OdSazib
parent 95081704f1
commit 7a0e578ef1
No known key found for this signature in database
GPG key ID: D4CC9F3E8190970A

View file

@ -4,6 +4,9 @@ service vendor.power-hal-aidl /vendor/bin/hw/android.hardware.power-service.xiao
group system
priority -20
on late-fs
start vendor.power-hal-aidl
# restart powerHAL when framework died
on property:init.svc.zygote=restarting && property:vendor.powerhal.state=*
setprop vendor.powerhal.state ""