commit | 8bd3903dd88a7ff0f5beb76f4a2bfa007857f399 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <[email protected]> | Thu Jan 25 11:07:48 2024 -0800 |
committer | Yurii Zubrytskyi <[email protected]> | Sat Feb 10 03:39:59 2024 +0000 |
tree | b043fa2065a9e52d90e13e6286ebec2fd6cce518 | |
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