Procházet zdrojové kódy

cupid: 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
Bruno Martins před 1 rokem
rodič
revize
d76540d345
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      extract-files.sh

+ 3 - 0
extract-files.sh

@@ -14,6 +14,9 @@ function blob_fixup() {
         vendor/etc/camera/pureShot_parameter.xml|vendor/etc/camera/pureView_parameter.xml)
             sed -i 's/=\([0-9]\+\)>/="\1">/g' "${2}"
             ;;
+        vendor/etc/init/hw/init.batterysecret.rc)
+            sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}"
+            ;;
     esac
 }