diff options
| author | 2024-12-07 03:30:29 +0000 | |
|---|---|---|
| committer | 2024-12-11 07:41:49 +0000 | |
| commit | afa31d32660f8c6fbdf5d60d2372196637bb99bc (patch) | |
| tree | 9f3592ce8afed285406896c134bfebe9a4495d32 /libs/androidfw/StringPool.cpp | |
| parent | 707783874e51f50a8beea1d4d686f6991306a394 (diff) | |
Load window decor's app name/icon in the bg thread
Adds a WindowDecorTaskResourceLoader class that loads and caches the
app's resources shared across window decoration UI (App Header, menus,
resize veil, etc). The cached resources are coupled to the window
decor's lifecycle and user changes.
The loader util itself is synchronous, so callers are the ones managing
the switching to the bg thread and back.
Bug: 360452034
Flag: EXEMPT refactor
Test: manual - window decor UI loads as intended, perfetto trace shows
binder calls for ActivityInfo and Drawable loading are done in shell.bg
Change-Id: If85ee04d150467471741ac163fd558b0861d555d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions