Fix bug in Sim Status Settings.
Bug: 29332493 Change-Id: Idd519e704ce6fdd0b92319948bdf02c0fa45ff34
This commit is contained in:
@@ -151,8 +151,6 @@ public class SimStatus extends SettingsPreferenceFragment {
|
|||||||
mDefaultText = mRes.getString(R.string.device_info_default);
|
mDefaultText = mRes.getString(R.string.device_info_default);
|
||||||
// Note - missing in zaku build, be careful later...
|
// Note - missing in zaku build, be careful later...
|
||||||
mSignalStrength = findPreference(KEY_SIGNAL_STRENGTH);
|
mSignalStrength = findPreference(KEY_SIGNAL_STRENGTH);
|
||||||
|
|
||||||
updatePhoneInfos();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -188,6 +186,12 @@ public class SimStatus extends SettingsPreferenceFragment {
|
|||||||
return super.onCreateView(inflater, container, savedInstanceState);
|
return super.onCreateView(inflater, container, savedInstanceState);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onViewCreated(View view, Bundle savedInstanceState) {
|
||||||
|
super.onViewCreated(view, savedInstanceState);
|
||||||
|
updatePhoneInfos();
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getMetricsCategory() {
|
protected int getMetricsCategory() {
|
||||||
return MetricsEvent.DEVICEINFO_SIM_STATUS;
|
return MetricsEvent.DEVICEINFO_SIM_STATUS;
|
||||||
|
Reference in New Issue
Block a user