sm8150-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 Signed-off-by: BladeRunner-A2C <john.smith@unused.email> Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
This commit is contained in:
parent
de4cf068bd
commit
203d0d9db6
|
@ -188,8 +188,7 @@ PRODUCT_COPY_FILES += \
|
|||
|
||||
# Health
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.health@2.1-impl-qti:64 \
|
||||
android.hardware.health@2.1-service
|
||||
android.hardware.health-service.qti
|
||||
|
||||
# Init
|
||||
PRODUCT_PACKAGES += \
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
on charger
|
||||
on property:init.svc.vendor.charger=running
|
||||
mkdir /dev/usb-ffs 0770 shell shell
|
||||
mkdir /dev/usb-ffs/adb 0770 shell shell
|
||||
mkdir /config/usb_gadget/g1 0770 shell shell
|
||||
|
|
|
@ -818,13 +818,6 @@ service profiler_daemon /system/bin/profiler_daemon
|
|||
group root
|
||||
disabled
|
||||
|
||||
service charger /system/bin/charger
|
||||
class charger
|
||||
user system
|
||||
group system graphics input
|
||||
capabilities SYS_BOOT
|
||||
seclabel u:r:charger:s0
|
||||
|
||||
service vendor.ssr_diag /system/vendor/bin/ssr_diag
|
||||
class late_start
|
||||
user system
|
||||
|
@ -903,7 +896,7 @@ service esepmdaemon /system/vendor/bin/esepmdaemon
|
|||
user system
|
||||
group nfc
|
||||
|
||||
on charger
|
||||
on property:init.svc.vendor.charger=running
|
||||
setprop persist.sys.usb.config mass_storage
|
||||
start qcom-post-boot
|
||||
|
||||
|
|
|
@ -210,7 +210,7 @@ on property:init.svc.vendor.per_mgr=running
|
|||
on property:sys.shutdown.requested=*
|
||||
stop vendor.per_proxy
|
||||
|
||||
on charger
|
||||
on property:init.svc.vendor.charger=running
|
||||
start vendor.power_off_alarm
|
||||
setprop sys.usb.controller a600000.dwc3
|
||||
setprop sys.usb.configfs 1
|
||||
|
|
Loading…
Reference in New Issue