Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8bd3903d authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[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
parent 1f66b736
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment