sm6150-common: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger, therefore system charger at /system/bin/charger is deprecated. On top of that, QTI health AIDL HAL service enables suspend by default, the equivalent of setting ro.charger.enable_suspend for legacy charger. Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
This commit is contained in:
parent
83a0bcef55
commit
53d51eceb1
@ -281,13 +281,6 @@ service vendor.qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
|
|||||||
on property:ro.vendor.ril.mbn_copy_completed=1
|
on property:ro.vendor.ril.mbn_copy_completed=1
|
||||||
write /data/vendor/radio/copy_complete 1
|
write /data/vendor/radio/copy_complete 1
|
||||||
|
|
||||||
service charger /system/bin/charger
|
|
||||||
class charger
|
|
||||||
user system
|
|
||||||
group system graphics input
|
|
||||||
capabilities SYS_BOOT
|
|
||||||
seclabel u:r:charger:s0
|
|
||||||
|
|
||||||
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
|
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
|
||||||
class core
|
class core
|
||||||
user root
|
user root
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#
|
#
|
||||||
|
|
||||||
on charger
|
on property:init.svc.vendor.charger=running
|
||||||
mkdir /config/usb_gadget/g1 0770
|
mkdir /config/usb_gadget/g1 0770
|
||||||
mkdir /config/usb_gadget/g1/strings/0x409 0770
|
mkdir /config/usb_gadget/g1/strings/0x409 0770
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ on property:init.svc.vendor.per_mgr=running
|
|||||||
on property:sys.shutdown.requested=*
|
on property:sys.shutdown.requested=*
|
||||||
stop vendor.per_proxy
|
stop vendor.per_proxy
|
||||||
|
|
||||||
on charger
|
on property:init.svc.vendor.charger=running
|
||||||
wait /dev/block/platform/soc/1da4000.ufshc/by-name/system
|
wait /dev/block/platform/soc/1da4000.ufshc/by-name/system
|
||||||
mount ext4 /dev/block/platform/soc/1da4000.ufshc/by-name/system / ro barrier=1
|
mount ext4 /dev/block/platform/soc/1da4000.ufshc/by-name/system / ro barrier=1
|
||||||
|
|
||||||
|
@ -206,8 +206,7 @@ PRODUCT_COPY_FILES += \
|
|||||||
|
|
||||||
# Health
|
# Health
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.health@2.1-impl \
|
android.hardware.health-service.qti
|
||||||
android.hardware.health@2.1-service
|
|
||||||
|
|
||||||
# HIDL
|
# HIDL
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
# Bluetooth
|
# Bluetooth
|
||||||
vendor.bluetooth.soc=cherokee
|
vendor.bluetooth.soc=cherokee
|
||||||
|
|
||||||
# Charger
|
|
||||||
ro.charger.enable_suspend=true
|
|
||||||
|
|
||||||
# CNE
|
# CNE
|
||||||
persist.vendor.cne.feature=1
|
persist.vendor.cne.feature=1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user