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: Icdefe5fe61aa3edd2d54766d902f56ee973c00b2
This commit is contained in:
Jimmy Shiu 2022-01-13 01:07:54 +08:00
parent b44be5bff4
commit b6b4bf0a31

View file

@ -141,7 +141,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# Power HAL ADPF
PRODUCT_PRODUCT_PROPERTIES += \
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.adpf.rate=16666666
# Set zram size