Fix SimStatus updatePhoneInfos
Looks like we got updatePhoneInfos in the right place for IccLockSettings but not SimStatus. Also return the right view in onCreateView Change-Id: Ifd4cbd93351bb05571ed5a9873e9352c7c3a2357 Fixes: 29335528
This commit is contained in:
@@ -181,6 +181,7 @@ public class SimStatus extends SettingsPreferenceFragment {
|
||||
mTabHost.addTab(buildTabSpec(String.valueOf(i),
|
||||
String.valueOf(mSelectableSubInfos.get(i).getDisplayName())));
|
||||
}
|
||||
return view;
|
||||
}
|
||||
}
|
||||
return super.onCreateView(inflater, container, savedInstanceState);
|
||||
@@ -189,6 +190,7 @@ public class SimStatus extends SettingsPreferenceFragment {
|
||||
@Override
|
||||
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||
super.onViewCreated(view, savedInstanceState);
|
||||
|
||||
updatePhoneInfos();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user