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

Commit a4c24907 authored by tom hsu's avatar tom hsu Committed by Tom Hsu
Browse files

Fix a blank show on system langauge when open the search bar

Bug: b/266383101
Test: Manual test. see b/266383101#comment8
Change-Id: I21fd376170416b41ae798066aef255b3ec14d90a
parent 1cee73cc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -277,8 +277,7 @@ public class LocalePickerWithRegion extends ListFragment implements SearchView.O
            inflater.inflate(R.menu.language_selection_list, menu);

            final MenuItem searchMenuItem = menu.findItem(R.id.locale_search_menu);
            if (mLocalePickerCollector.hasSpecificPackageName()
                    && mOnActionExpandListener != null) {
            if (mOnActionExpandListener != null) {
                searchMenuItem.setOnActionExpandListener(mOnActionExpandListener);
            }