PowerHal: move power HAL property to PRODUCT_VENDOR_PROPERTIES

'vendor.powerhal.adpf.rate' should be placed in /vendor if it is used
by vendor processes. The product partition (and system_ext) belongs to
"system" in Treble view so it will be replaced by GSI.

Bug: 204035997
Test: Install GSI by b/204035997#comment19 and run the following
      command would get a non-null number:
      $ adb root; adb shell getprop vendor.powerhal.adpf.rate
Test: $ adb shell 'find . -type f -name "build.prop" -exec grep -Hn "adpf" {} \; 2> /dev/null'
    ./vendor/build.prop:83:vendor.powerhal.adpf.rate=16666666
Change-Id: I10c8f55609aff49e32b2bc6dc7474f8bafb116e9
This commit is contained in:
Jimmy Shiu 2022-01-13 00:54:09 +08:00
parent aa73129ab3
commit 970b2a5577
2 changed files with 3 additions and 3 deletions

View file

@ -128,7 +128,7 @@ DEVICE_MANIFEST_FILE += \
# Vibrator HAL
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15
PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.adpf.rate=11111111
ACTUATOR_MODEL := luxshare_ict_081545

View file

@ -143,8 +143,8 @@ DEVICE_MANIFEST_FILE += \
# Vibrator HAL
PRODUCT_PRODUCT_PROPERTIES +=\
ro.vendor.vibrator.hal.long.frequency.shift=15
PRODUCT_PRODUCT_PROPERTIES += \
vendor.powerhal.adpf.rate=8333333
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.adpf.rate=8333333
ACTUATOR_MODEL := luxshare_ict_081545
# Voice packs for Text-To-Speech