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

Commit 559dbb90 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary null check to make code consistent" into sc-v2-dev

parents 752334d0 53a7330f
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -878,10 +878,8 @@ public class InternetDialogController implements AccessPointController.AccessPoi
        if (accessPoints == null || accessPoints.size() == 0) {
            mConnectedEntry = null;
            mWifiEntriesCount = 0;
            if (mCallback != null) {
            mCallback.onAccessPointsChanged(null /* wifiEntries */, null /* connectedEntry */,
                    false /* hasMoreEntry */);
            }
            return;
        }

@@ -913,10 +911,8 @@ public class InternetDialogController implements AccessPointController.AccessPoi
        mConnectedEntry = connectedEntry;
        mWifiEntriesCount = wifiEntries.size();

        if (mCallback != null) {
        mCallback.onAccessPointsChanged(wifiEntries, mConnectedEntry, hasMoreEntry);
    }
    }

    @Override
    public void onSettingsActivityTriggered(Intent settingsIntent) {