fix for atl_test_apks/views_widgets_samples_flower_finder.apk

This was broken since the automatic night mode commit. The sdkVersion
configuration for the AssetManager needs to be at least 24, as some
image resources of the APK are only in res/drawable-v24 subfolder
This commit is contained in:
Julian Winkler
2024-03-24 15:11:38 +01:00
parent 494605932c
commit 26b6da2c9c

View File

@@ -1592,7 +1592,7 @@ public class Resources {
mConfiguration.smallestScreenWidthDp,
mConfiguration.screenWidthDp, mConfiguration.screenHeightDp,
mConfiguration.screenLayout, mConfiguration.uiMode,
Build.VERSION.RESOURCES_SDK_INT);
24);
if (DEBUG_CONFIG) {
Slog.i(TAG, "**** Updating config of " + this + ": final config is " + mConfiguration + " final compat is " + mCompatibilityInfo);