Fix a regression in exiting the activity on picking a locale
Bug: 7326748 Change-Id: I5db57c805c104bf01c256f65990aec6deae27789
This commit is contained in:
@@ -55,6 +55,7 @@ public class LocalePicker extends com.android.internal.app.LocalePicker
|
|||||||
mTargetLocale = locale;
|
mTargetLocale = locale;
|
||||||
showDialog(DLG_SHOW_GLOBAL_WARNING);
|
showDialog(DLG_SHOW_GLOBAL_WARNING);
|
||||||
} else {
|
} else {
|
||||||
|
getActivity().onBackPressed();
|
||||||
LocalePicker.updateLocale(locale);
|
LocalePicker.updateLocale(locale);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user