Fixed an illustrious NullPointer bug on Wifi Assistant

+ The class was never instantiated...

Bug: 16543506
Change-Id: I00882df31ee986116b8fa28a54796bb3b20f2e2b
This commit is contained in:
PauloftheWest
2014-07-24 11:40:21 -07:00
parent 2513851ace
commit 63a1affdae

View File

@@ -729,7 +729,7 @@ public class WifiSettings extends RestrictedSettingsFragment
}
private boolean prepareWifiAssistantCard() {
if (mWifiAssistantPreference != null) {
if (mWifiAssistantPreference == null) {
mWifiAssistantPreference = new WifiAssistantPreference();
}