Fix crash when rotating screen in a few screens.
Bug: 26946312 Fixed in the following screens: Apps > Gear > Special Access > Modify system settings Apps > Gear > Special Access > Draw over other apps Apps > Gear > Special Access > Apps with usage access Language & input > Personal dictionary Wireless & networks (More) > Android Beam Change-Id: I0b9bd6c19f710302625dd87989e9d4ce3c96a9a2
This commit is contained in:
@@ -71,12 +71,6 @@ public class UserDictionarySettings extends ListFragment {
|
||||
|
||||
protected String mLocale;
|
||||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
getActivity().getActionBar().setTitle(R.string.user_dict_settings_title);
|
||||
}
|
||||
|
||||
@Override
|
||||
public View onCreateView(
|
||||
LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||
@@ -87,6 +81,7 @@ public class UserDictionarySettings extends ListFragment {
|
||||
@Override
|
||||
public void onActivityCreated(Bundle savedInstanceState) {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
getActivity().getActionBar().setTitle(R.string.user_dict_settings_title);
|
||||
|
||||
final Intent intent = getActivity().getIntent();
|
||||
final String localeFromIntent =
|
||||
|
Reference in New Issue
Block a user