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

Commit bb300807 authored by Roozbeh Pournader's avatar Roozbeh Pournader Committed by Android (Google) Code Review
Browse files

Merge "Replace LocaleList#getPrimary() with get(0)"

parents e1943293 2b7d4cd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -899,7 +899,7 @@ public class ManageApplications extends InstrumentedFragment
                        if (locales.size() == 0) {
                            locales = new LocaleList(Locale.ENGLISH);
                        }
                        AlphabeticIndex index = new AlphabeticIndex<>(locales.getPrimary());
                        AlphabeticIndex index = new AlphabeticIndex<>(locales.get(0));
                        int localeCount = locales.size();
                        for (int i = 1; i < localeCount; i++) {
                            index.addLabels(locales.get(i));