diff options
| author | 2022-11-11 21:34:27 +0800 | |
|---|---|---|
| committer | 2022-11-14 15:44:50 +0800 | |
| commit | 8820f0cff5911e5cf96b0961e22ec800a854d8a9 (patch) | |
| tree | 958fe7ede8848e93b3074164d4186408e73dbecf /libs/androidfw/ResourceUtils.cpp | |
| parent | 4e72b9846ee983b8886ed3bfba8d85f04398d152 (diff) | |
Move fully drawn metric log out of wm lock
The method getPackageOptimizationInfo will access IO which
may spend 3~10+ms, so post the log action to the logger thread
to avoid blocking other important UI operations.
ActivityRecord#reportFullyDrawnLocked is removed because fully
drawn won't be accepted if the window is not drawn, so the
invocation reportActivityLaunched in it is a dead code.
Currently reportActivityLaunched will be called from
ActivityRecord#onWindowsDrawn.
Bug: 236677935
Test: atest ActivityMetricsLaunchObserverTests
Change-Id: Ic64b9722de4edb0a41cc7370ed0ed2f7019bbdec
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions