You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
647 B
17 lines
647 B
4 years ago
|
service vendor.power-hal-1-3 /vendor/bin/hw/android.hardware.power@1.3-service.samsung-libperfmgr
|
||
4 years ago
|
class hal
|
||
|
user root
|
||
|
group system
|
||
|
priority -20
|
||
|
interface android.hardware.power@1.0::IPower default
|
||
|
interface android.hardware.power@1.1::IPower default
|
||
|
interface android.hardware.power@1.2::IPower default
|
||
|
interface android.hardware.power@1.3::IPower default
|
||
|
|
||
|
# restart powerHAL when framework died
|
||
|
on property:init.svc.zygote=restarting && property:vendor.powerhal.state=*
|
||
|
setprop vendor.powerhal.state ""
|
||
|
setprop vendor.powerhal.audio ""
|
||
|
setprop vendor.powerhal.rendering ""
|
||
|
restart vendor.power-hal-1-3
|