[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
6 files changed