Merge "Fixed an illustrious NullPointer bug on Wifi Assistant" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
958d1ee6d5
@@ -729,7 +729,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
}
|
||||
|
||||
private boolean prepareWifiAssistantCard() {
|
||||
if (mWifiAssistantPreference != null) {
|
||||
if (mWifiAssistantPreference == null) {
|
||||
mWifiAssistantPreference = new WifiAssistantPreference();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user