In ApnEditor, restore preference values after re-creating.
After destroying and re-creating, the preference values in ApnEditor are not restored. This results in incorrect behavior if it enters two window mode where it's destroyed and re-created. The fix is to have them restored and shown correctly. Bug: 65338066 Test: Manual Change-Id: I5ea16ce01c72061ab116f9c15bfc5cc39bb7a095
This commit is contained in:
committed by
Xiangyu/Malcolm Chen
parent
adef5b23e0
commit
26938b36ee
@@ -297,6 +297,11 @@ public class ApnEditor extends SettingsPreferenceFragment
|
||||
getPreferenceScreen().getPreference(i).setOnPreferenceChangeListener(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onActivityCreated(Bundle savedInstanceState) {
|
||||
super.onActivityCreated(savedInstanceState);
|
||||
fillUi();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user