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

Commit 9901cbbb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Remove unnecessary null check to make code consistent" into sc-v2-dev am: 559dbb90 am: db2e5cff

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16418523

Change-Id: Iba79c4dd7d294b6a46be4e62a3a4409ebfdcd566
parents 1d584f23 db2e5cff
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) {