Browse Source

cupid: Decommonize CIT sensors

Change-Id: I06e14a2a29c3ed4d6e4df7919151cfefef481de4
Arian 1 year ago
parent
commit
623455e878
2 changed files with 14 additions and 0 deletions
  1. 3 0
      extract-files.sh
  2. 11 0
      proprietary-files.txt

+ 3 - 0
extract-files.sh

@@ -17,6 +17,9 @@ function blob_fixup() {
         vendor/etc/init/hw/init.batterysecret.rc)
             sed -i 's/on charger/on property:init.svc.vendor.charger=running/g' "${2}"
             ;;
+        vendor/lib/hw/[email protected]|vendor/lib64/hw/[email protected])
+            sed -i 's/_ZN13DisplayConfig10ClientImpl13ClientImplGetENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE/_ZN13DisplayConfig10ClientImpl4InitENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPNS_14ConfigCallbackE\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0/g' "${2}"
+            ;;
     esac
 }
 

+ 11 - 0
proprietary-files.txt

@@ -1139,6 +1139,17 @@ vendor/etc/sensors/config/tmd3719.json
 vendor/etc/sensors/sensorDisplayMap.json
 vendor/etc/sensors/sns_reg_config
 
+# Sensors - CIT
+vendor/bin/hw/[email protected]
+vendor/etc/init/[email protected]
+vendor/etc/vintf/manifest/[email protected]
+vendor/lib/hw/[email protected]
+vendor/lib/[email protected]
+vendor/lib/[email protected]
+vendor/lib64/hw/[email protected]
+vendor/lib64/[email protected]
+vendor/lib64/[email protected]
+
 # Thermal engine
 vendor/etc/thermal-4k.conf
 vendor/etc/thermal-abnormal.conf