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

Commit 9731c5f5 authored by Paul Hu's avatar Paul Hu Committed by Automerger Merge Worker
Browse files

Merge "Replace ArrayList with a CopyOnWriteArrayList" am: 55da3a99 am: 5c589f19

Original change: https://android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/1366998

Change-Id: I559684c99899ea8ae3d41355eff3ebf2248a317f
parents 18cbbe99 5c589f19
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;

import java.util.ArrayList;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.TimeUnit;

/**
@@ -65,7 +65,8 @@ public final class RegularMaintenanceJobService extends JobService {
        }
    }

    private static final ArrayList<InterruptMaintenance> sInterruptList = new ArrayList<>();
    private static final CopyOnWriteArrayList<InterruptMaintenance> sInterruptList =
            new CopyOnWriteArrayList<>();
    private static IpMemoryStoreService sIpMemoryStoreService;

    @Override