Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev

This commit is contained in:
PauloftheWest
2014-07-24 18:46:07 +00:00
committed by Android (Google) Code Review

View File

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