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

Commit 543d6a5c authored by Chaohui Wang's avatar Chaohui Wang Committed by Android Build Coastguard Worker
Browse files

Fix crash while click Add a languages

Fix: 232329231
Test: manual test
Change-Id: Ic232ec86196b2bde9dfff5da7b3435931f4f5024
(cherry picked from commit e8412e22b6950338022ad62f67da217813215845)
Merged-In: Ic232ec86196b2bde9dfff5da7b3435931f4f5024
parent 2f7aa6cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -340,7 +340,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 (!mAppPackageName.isEmpty() && mOnActionExpandListener != null) {
            if (!TextUtils.isEmpty(mAppPackageName) && mOnActionExpandListener != null) {
                searchMenuItem.setOnActionExpandListener(mOnActionExpandListener);
            }