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

Commit fb0c87e8 authored by Chalard Jean's avatar Chalard Jean
Browse files

Add tests for getActiveNetwork.

Bug: 77737389
Test: runtest frameworks-net
Change-Id: I03ae2bbb08559f2cd44979e291c1f5d50eb215da
parent d5a1bb62
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -238,8 +238,9 @@ public class ConnectivityService extends IConnectivityManager.Stub

    private KeyStore mKeyStore;

    @VisibleForTesting
    @GuardedBy("mVpns")
    private final SparseArray<Vpn> mVpns = new SparseArray<Vpn>();
    protected final SparseArray<Vpn> mVpns = new SparseArray<Vpn>();

    // TODO: investigate if mLockdownEnabled can be removed and replaced everywhere by
    // a direct call to LockdownVpnTracker.isEnabled().
+88 −4

File changed.

Preview size limit exceeded, changes collapsed.