kunlun2: power-libperfmgr: Initialize powerHAL when boot is completed
Change-Id: I801b3aba05ef0be14c7af1969ddf9318c05ef64c Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
a485a2c7c8
commit
bae3d485a5
1 changed files with 4 additions and 0 deletions
|
@ -15,3 +15,7 @@ on property:init.svc.zygote=restarting && property:vendor.powerhal.state=*
|
||||||
on property:init.svc.vendor.audio-hal-2-0=restarting && property:vendor.powerhal.audio=AUDIO_STREAMING_LOW_LATENCY
|
on property:init.svc.vendor.audio-hal-2-0=restarting && property:vendor.powerhal.audio=AUDIO_STREAMING_LOW_LATENCY
|
||||||
setprop vendor.powerhal.audio ""
|
setprop vendor.powerhal.audio ""
|
||||||
restart vendor.power-hal-aidl
|
restart vendor.power-hal-aidl
|
||||||
|
|
||||||
|
# initialize powerHAL when boot is completed
|
||||||
|
on property:sys.boot_completed=1
|
||||||
|
setprop vendor.powerhal.init 1
|
||||||
|
|
Loading…
Reference in a new issue