瀏覽代碼

cupid: Drop xiaomi citsensorservice and enable light sensor notifier

Change-Id: I896f31b925976bbe51d42a7c39d698793fba6cd7
Arian 11 月之前
父節點
當前提交
09864a69ce
共有 3 個文件被更改,包括 1 次插入14 次删除
  1. 0 3
      extract-files.sh
  2. 1 0
      properties/vendor.prop
  3. 0 11
      proprietary-files.txt

+ 0 - 3
extract-files.sh

@@ -17,9 +17,6 @@ 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
 }
 

+ 1 - 0
properties/vendor.prop

@@ -1,2 +1,3 @@
 # Sensors
+ro.vendor.sensors.notifier.light_sensors.primary=5
 ro.vendor.sensors.xiaomi.udfps=true

+ 0 - 11
proprietary-files.txt

@@ -1146,17 +1146,6 @@ 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]
-
 # Sensors - SSC calibration
 -vendor/lib/[email protected]
 -vendor/lib64/[email protected]