Merge "Check if boxes still available when restoring state" into pi-dev am: 6fcce25b72
am: f6d5f31564
Change-Id: I8b59411b62292b8f65a62f60bde8981c66f3401a
This commit is contained in:
@@ -118,8 +118,8 @@ public class HotspotApBandSelectionPreference extends CustomDialogPreference imp
|
||||
|
||||
SavedState myState = new SavedState(superState);
|
||||
myState.shouldRestore = getDialog() != null;
|
||||
myState.enabled2G = mBox2G.isChecked();
|
||||
myState.enabled5G = mBox5G.isChecked();
|
||||
myState.enabled2G = mBox2G != null && mBox2G.isChecked();
|
||||
myState.enabled5G = mBox5G != null && mBox5G.isChecked();
|
||||
return myState;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user