Reland try 2 "Pass all preferred locales to AssetManager"
This reverts commit c57041138696b7a152a80513c67793fac1cad7c4.
Reason for revert: roll forward with fix
Test: manual
Change-Id: Ic4d1aa892efd9058d21ac88709fc565fd5f61909
diff --git a/libs/androidfw/tests/Theme_test.cpp b/libs/androidfw/tests/Theme_test.cpp
index e08a6a7..181d141 100644
--- a/libs/androidfw/tests/Theme_test.cpp
+++ b/libs/androidfw/tests/Theme_test.cpp
@@ -260,7 +260,7 @@
ResTable_config night{};
night.uiMode = ResTable_config::UI_MODE_NIGHT_YES;
night.version = 8u;
- am_night.SetConfiguration(night);
+ am_night.SetConfigurations({night});
auto theme = am.NewTheme();
{