summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-02-18 23:15:34 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-02-22 11:58:23 +0800
commita68a6b19e93dce5d375569840eb91596eeb4b1cd (patch)
treebd5c3b4ce10792e3b87e3b8537ae25e281aac4f7 /rs/java/android/renderscript/RenderScriptCacheDir.java
parent38ab224e97c0745b7e2b479e067fef08ede64312 (diff)
Reduce unnecessary config propagation of default display
Global config is also the override config of default display. When updating the override config, the hierarchy is already notified. So it doesn't need to update twice. Previously, the first update from mRootWindowContainer.onConfigurationChanged only recomputes the old config again because the override doesn't change. This may reduce up to 3ms (depends on the amount of window container in default display). Also remove unused parameter deferResume. Bug: 159103089 Bug: 178472794 Test: CtsWindowManagerDeviceTestCases Change-Id: I1437a26e435666c13faaf27e0b0ef81adf739fe0
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions