diff options
| author | 2024-01-25 11:07:48 -0800 | |
|---|---|---|
| committer | 2024-02-10 03:39:59 +0000 | |
| commit | 8bd3903dd88a7ff0f5beb76f4a2bfa007857f399 (patch) | |
| tree | b043fa2065a9e52d90e13e6286ebec2fd6cce518 /libs/androidfw/FileStream.cpp | |
| parent | 1f66b73624cc47c7540959fe7df83da9db07ff23 (diff) | |
[res] Don't recalculate configuration twice on init
When creating a ResourcesImpl object the native code calls
AssetManager::RebuildFilterList() twice: first with the default
configuration, and later when the actual one gets applied.
This CL introduces a way to skip the first call and ensure that
the second one is 'forced', so it always only calls it with the
final configuration
Bug: 282215580
Test: build + boot + presubmit
Change-Id: I8fd3801b5782c9ca202aaf7b8ae5db59cce83c11
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions