Fixed an illustrious NullPointer bug on Wifi Assistant
+ The class was never instantiated... Bug: 16543506 Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b
This commit is contained in:
@@ -729,7 +729,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean prepareWifiAssistantCard() {
|
private boolean prepareWifiAssistantCard() {
|
||||||
if (mWifiAssistantPreference != null) {
|
if (mWifiAssistantPreference == null) {
|
||||||
mWifiAssistantPreference = new WifiAssistantPreference();
|
mWifiAssistantPreference = new WifiAssistantPreference();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user