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

Commit 81fb11f9 authored by Charles He's avatar Charles He
Browse files

Add isAlwaysOnVpnPackageSupported to ConnectivityServiceMock

As we add a new @hide method isAlwaysOnVpnPackageSupported to
IConnectivityManager interface, we're adding it to this mock class here
as well.

Test: builds
Bug: 36650087
Change-Id: I787ecfa0a114c6058dd21a48ff00ae3f70d0ce97
parent 69640757
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -650,6 +650,11 @@ public class ConnectivityServiceMock extends IConnectivityManager.Stub
        throw new RuntimeException("not implemented");
    }

    @Override
    public boolean isAlwaysOnVpnPackageSupported(int userId, String packageName) {
        throw new RuntimeException("not implemented");
    }

    @Override
    public boolean setAlwaysOnVpnPackage(int userId, String packageName, boolean lockdownEnabled) {
        throw new RuntimeException("not implemented");