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

This commit is contained in:
Pechetty Sravani (xWF)
2024-10-21 09:49:30 +00:00
committed by Gerrit Code Review

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();