Merge "Move the VPN code out of packages/Connectivity." am: 8269d21dec
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1589331 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I44cf61bec31d83217ca836aa387030818cd226cb
This commit is contained in:
@@ -25,7 +25,6 @@ cc_library_shared {
|
||||
],
|
||||
srcs: [
|
||||
"jni/com_android_server_TestNetworkService.cpp",
|
||||
"jni/com_android_server_connectivity_Vpn.cpp",
|
||||
"jni/onload.cpp",
|
||||
],
|
||||
shared_libs: [
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
namespace android {
|
||||
|
||||
int register_android_server_connectivity_Vpn(JNIEnv* env);
|
||||
int register_android_server_TestNetworkService(JNIEnv* env);
|
||||
|
||||
extern "C" jint JNI_OnLoad(JavaVM* vm, void*) {
|
||||
@@ -29,12 +28,11 @@ extern "C" jint JNI_OnLoad(JavaVM* vm, void*) {
|
||||
return JNI_ERR;
|
||||
}
|
||||
|
||||
if (register_android_server_connectivity_Vpn(env) < 0
|
||||
|| register_android_server_TestNetworkService(env) < 0) {
|
||||
if (register_android_server_TestNetworkService(env) < 0) {
|
||||
return JNI_ERR;
|
||||
}
|
||||
|
||||
return JNI_VERSION_1_6;
|
||||
}
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -28,6 +28,7 @@ cc_library_static {
|
||||
"com_android_server_am_BatteryStatsService.cpp",
|
||||
"com_android_server_ConsumerIrService.cpp",
|
||||
"com_android_server_devicepolicy_CryptoTestHelper.cpp",
|
||||
"com_android_server_connectivity_Vpn.cpp",
|
||||
"com_android_server_gpu_GpuService.cpp",
|
||||
"com_android_server_HardwarePropertiesManagerService.cpp",
|
||||
"com_android_server_input_InputManagerService.cpp",
|
||||
|
||||
@@ -40,6 +40,7 @@ int register_android_server_UsbHostManager(JNIEnv* env);
|
||||
int register_android_server_vr_VrManagerService(JNIEnv* env);
|
||||
int register_android_server_VibratorService(JNIEnv* env);
|
||||
int register_android_server_location_GnssLocationProvider(JNIEnv* env);
|
||||
int register_android_server_connectivity_Vpn(JNIEnv* env);
|
||||
int register_android_server_devicepolicy_CryptoTestHelper(JNIEnv*);
|
||||
int register_android_server_tv_TvUinputBridge(JNIEnv* env);
|
||||
int register_android_server_tv_TvInputHal(JNIEnv* env);
|
||||
@@ -91,6 +92,7 @@ extern "C" jint JNI_OnLoad(JavaVM* vm, void* /* reserved */)
|
||||
register_android_server_VibratorService(env);
|
||||
register_android_server_SystemServer(env);
|
||||
register_android_server_location_GnssLocationProvider(env);
|
||||
register_android_server_connectivity_Vpn(env);
|
||||
register_android_server_devicepolicy_CryptoTestHelper(env);
|
||||
register_android_server_ConsumerIrService(env);
|
||||
register_android_server_BatteryStatsService(env);
|
||||
|
||||
Reference in New Issue
Block a user