Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 956f288d authored by Weng Su's avatar Weng Su Committed by Gerrit Code Review
Browse files

Merge "fix WifiUtils:isNetworkLockedDown() null pointer issue"

parents b6df569c 688e61a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ public class WifiUtils extends com.android.settingslib.wifi.WifiUtils {
     * @return true if Settings cannot modify the config due to lockDown.
     */
    public static boolean isNetworkLockedDown(Context context, WifiConfiguration config) {
        if (config == null) {
        if (context == null || config == null) {
            return false;
        }