Skip to content
Commit 053df0e7 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Remove hidden preconditions, binder usage in Vpn

The hidden APIs cause problems when Vpn is used in connectivity tests,
as their package (com.android.internal.util for Preconditions and
ThrowingRunnable used by lambdas) gets jarjared by Connectivity, but the
utils are not actually statically linked into the tests.

Remove usage of the hidden utilities, which will also be useful if Vpn
needs to build against SDK in the near future.

Bug: 187935317
Test: atest ConnectivityCoverageTests:ConnectivityServiceTest
Change-Id: I6152f07e7e88a88c202d78f03e370173fdd9a016
parent a30c27e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment