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

Commit b083196e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix force close for updating UI after activity destroyed." into main

parents f233e507 2545f065
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -368,6 +368,11 @@ public class NetworkSelectSettings extends DashboardFragment {

    @VisibleForTesting
    protected void scanResultHandler(NetworkScanRepository.NetworkScanResult results) {
        if (isFinishingOrDestroyed()) {
            Log.d(TAG, "scanResultHandler: activity isFinishingOrDestroyed, directly return");
            return;
        }

        mCellInfoList = filterOutSatellitePlmn(results.getCellInfos());
        Log.d(TAG, "CellInfoList: " + CellInfoUtil.cellInfoListToString(mCellInfoList));
        updateAllPreferenceCategory();