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

Commit 68e315e0 authored by danielwbhuang's avatar danielwbhuang
Browse files

Don't directly return to the parent frame

If directly return to the parent frame, the page will be black when user dismisses the dialog.

Flag: EXEMPT bugfix
Bug: 387197720
Test: atest
Change-Id: Ie7c655b338c43a7a293ec213a862c4a90c63d6ea
parent 4ca00f87
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ import android.widget.SearchView;

import com.android.internal.R;

import java.util.HashSet;
import java.util.Locale;
import java.util.Set;

@@ -273,8 +272,9 @@ public class LocalePickerWithRegion extends ListFragment implements SearchView.O
                || mIsNumberingSystem) {
            if (mListener != null) {
                mListener.onLocaleSelected(locale);
            }
            } else {
                returnToParentFrame();
            }
        } else {
            LocalePickerWithRegion selector;
            if (mayHaveDifferentNumberingSystem) {