Use connectivity APIs from framework-connectivity

Instead of compiling framework-connectivity source into
frameworks-minus-apex, have the APIs loaded separately from
framework-connectivity.

Bug: 171540887
Test: device boots, has connectivity
Change-Id: I8f07ff2082c3de80821e121807e66a43a870de7b
This commit is contained in:
Remi NGUYEN VAN
2021-03-19 10:15:06 +00:00
parent 40ca93251e
commit 96100cc026
2 changed files with 3 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ import java.util.TreeSet;
* {@hide}
*/
public class NetworkUtils {
static {
System.loadLibrary("framework-connectivity-jni");
}
private static final String TAG = "NetworkUtils";