Revert "Fix force close for updating UI after activity destroyed."

This reverts commit 2545f06558.

Reason for revert: DroidMonitor created revert due  to b/374650528.Will be verified through ABTD for standard investigation.

Change-Id: Ifa3f061b7954dc2b5780b768fefb9358c597fdc0
This commit is contained in:
Pechetty Sravani (xWF)
2024-10-21 06:18:31 +00:00
committed by Gerrit Code Review
parent 2545f06558
commit bd44c86041

View File

@@ -368,11 +368,6 @@ 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();