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

Commit 5c589f19 authored by Paul Hu's avatar Paul Hu Committed by Automerger Merge Worker
Browse files

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

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

Change-Id: I5f5048a81bff8f64ce75c6eca02af5ff6c2f4bc2
parents 38a74150 55da3a99
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