Skip to content
Commit a68a6b19 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 38ab224e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment