File tree 2 files changed +2
-2
lines changed
shell/platform/android/io/flutter
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -861,9 +861,9 @@ private void sendLocalesToFlutter(@NonNull Configuration config) {
861
861
locales .add (config .locale );
862
862
}
863
863
864
- List <Locale .LanguageRange > languageRanges = new ArrayList <>();
865
864
Locale platformResolvedLocale = null ;
866
865
if (Build .VERSION .SDK_INT >= android .os .Build .VERSION_CODES .O ) {
866
+ List <Locale .LanguageRange > languageRanges = new ArrayList <>();
867
867
LocaleList localeList = config .getLocales ();
868
868
int localeCount = localeList .size ();
869
869
for (int index = 0 ; index < localeCount ; ++index ) {
Original file line number Diff line number Diff line change @@ -406,9 +406,9 @@ private void sendLocalesToDart(Configuration config) {
406
406
locales .add (config .locale );
407
407
}
408
408
409
- List <Locale .LanguageRange > languageRanges = new ArrayList <>();
410
409
Locale platformResolvedLocale = null ;
411
410
if (Build .VERSION .SDK_INT >= android .os .Build .VERSION_CODES .O ) {
411
+ List <Locale .LanguageRange > languageRanges = new ArrayList <>();
412
412
LocaleList localeList = config .getLocales ();
413
413
int localeCount = localeList .size ();
414
414
for (int index = 0 ; index < localeCount ; ++index ) {
You can’t perform that action at this time.
0 commit comments