Add a way to disable auto prefer fit for launch.
This change introduces "is APF enabled" system properties, and uses them as trigger conditions for APF nodes / pre-APF nodes. By default APF nodes are active, and pre-APF nodes are inactive, which maintains the situation before this change. A future experiment will flip "is APF enabled" system properties, deactivating APF nodes and activating pre-APF nodes. For more info see go/pixel-perf-apf-experiment. Bug: 365855872 Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit procfs value is never "1" Flag: NONE powerhint change does not support flags Change-Id: I919ad3ffe5f496df75bcb492bd3b4fa2285df65c Signed-off-by: Dmitry Skiba <dskiba@google.com>
This commit is contained in:
parent
d50776bd7e
commit
22dcc3447b
8 changed files with 132 additions and 32 deletions
|
@ -245,3 +245,8 @@ PRODUCT_VENDOR_PROPERTIES += \
|
|||
# Thread HAL
|
||||
PRODUCT_PACKAGES += \
|
||||
com.google.caimito.hardware.threadnetwork
|
||||
|
||||
# Enable APF by default
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.powerhal.apf_disabled=false \
|
||||
vendor.powerhal.apf_enabled=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue