diff options
| author | 2024-09-03 15:57:38 -0600 | |
|---|---|---|
| committer | 2024-09-03 16:04:41 +0800 | |
| commit | 7913d2598f0dcc32dce069b98de04f795ac83fc3 (patch) | |
| tree | c4f521dfaee3647e601a0b63179dba60899a05d2 /libs/input/PointerController.cpp | |
| parent | 2f4e0476d0c690f7a5cb47c72cf61c03d6daf7fa (diff) | |
Skip initializing unused system bar painter
SystemBarBackgroundPainter invokes getSystemUiContext, that may trigger
initializing a window context and load resources. The operation could
cost ~5ms due to attachWindowContextToDisplayContent.
Since flag drawSnapshotAspectRatioMatch is introduced, there is no
longer a case that the snapshot starting window need to draw bars
background. So its initialization can be skipped as well.
Bug: 297502610
Flag: EXEMPT reduce unnecessary invocation
Test: Task snapshot starting window is normal from hot launch app.
Change-Id: Id6fa10da245845d5ed5f78558ab2f4193d2c7133
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions