android以太网和wifi共存问题,以太网 4g wifi 如何共存

diff --git a/services/core/java/com/android/server/ConnectivityService.java b/services/core/java/com/android/server/ConnectivityService.java

index 327fb8a..e5bcb04 100644

--- a/services/core/java/com/android/server/ConnectivityService.java

+++ b/services/core/java/com/android/server/ConnectivityService.java

@@ -166,9 +166,17 @@ public class ConnectivityService extends IConnectivityManager.Stub

private static final String TAG = "ConnectivityService";

private static final boolean DBG = true;

private static final boolean VDBG = false;

private static final boolean LOGD_RULES = false;

+    private static final boolean LOGD_BLOCKED_NETWORKINFO = true;

+

+    // if true:

+    //    wifi and ethernet can coexist, if wifi and ethernet connect together, prefered to use ethernet

你可能感兴趣的:(android以太网和wifi共存问题,以太网 4g wifi 如何共存)