diff options
author | 2022-12-06 22:03:30 +0000 | |
---|---|---|
committer | 2022-12-06 22:21:48 +0000 | |
commit | 49602f5ebf903fa8709dbbbe34ed73244f85450c (patch) | |
tree | 2a7cd5e14c2cec14823c813c732f3df8af787e60 | |
parent | 7c5817e876c62f3237a2b94622c55b21340e846e (diff) |
Disable HWUI adpf by default and enable in device.mk
* Make HWUI disabled by default for vendors
* Explicitly enable in supported devices
* Consolidate flags for HWUI and SF
Bug: b/261628396
Test: manual
Change-Id: I2d6b53459e4f9643e6b0bf2ba81eb4db36fb94b4
-rw-r--r-- | libs/hwui/Properties.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/Properties.cpp b/libs/hwui/Properties.cpp index 277955e88dfe..6affc6a81685 100644 --- a/libs/hwui/Properties.cpp +++ b/libs/hwui/Properties.cpp @@ -82,7 +82,7 @@ bool Properties::isolatedProcess = false; int Properties::contextPriority = 0; float Properties::defaultSdrWhitePoint = 200.f; -bool Properties::useHintManager = true; +bool Properties::useHintManager = false; int Properties::targetCpuTimePercentage = 70; bool Properties::enableWebViewOverlays = true; @@ -142,7 +142,7 @@ bool Properties::load() { runningInEmulator = base::GetBoolProperty(PROPERTY_IS_EMULATOR, false); - useHintManager = base::GetBoolProperty(PROPERTY_USE_HINT_MANAGER, true); + useHintManager = base::GetBoolProperty(PROPERTY_USE_HINT_MANAGER, false); targetCpuTimePercentage = base::GetIntProperty(PROPERTY_TARGET_CPU_TIME_PERCENTAGE, 70); if (targetCpuTimePercentage <= 0 || targetCpuTimePercentage > 100) targetCpuTimePercentage = 70; |