summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2024-01-25 11:07:48 -0800
committer Yurii Zubrytskyi <zyy@google.com> 2024-02-10 03:39:59 +0000
commit8bd3903dd88a7ff0f5beb76f4a2bfa007857f399 (patch)
treeb043fa2065a9e52d90e13e6286ebec2fd6cce518 /libs/androidfw/FileStream.cpp
parent1f66b73624cc47c7540959fe7df83da9db07ff23 (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