Merge "Add null check for config when clicking on wifi picker entry" into rvc-dev am: e1839d2955
am: fffa6d3a54
Change-Id: I9b26189d4bc0dd46c80043bd0f08cb268d4c4f08
This commit is contained in:
@@ -538,7 +538,7 @@ public class WifiSettings2 extends RestrictedSettingsFragment
|
||||
final WifiEntry selectedEntry =
|
||||
((LongPressWifiEntryPreference) preference).getWifiEntry();
|
||||
|
||||
if (selectedEntry.isSaved()) {
|
||||
if (selectedEntry.getWifiConfiguration() != null) {
|
||||
if (!selectedEntry.getWifiConfiguration().getNetworkSelectionStatus()
|
||||
.hasEverConnected()) {
|
||||
launchConfigNewNetworkFragment(selectedEntry);
|
||||
|
Reference in New Issue
Block a user