wear proxy behind portal
Do not avoid captive portal on wear proxy network; keep network agent after detecting portal. Bug: 291112432 Test: atest FrameworksNetTests:android.net.connectivity.com.android.server.ConnectivityServiceTest Change-Id: I8f6669da62ebd76b6a46d2aec9b3ea563a08cb5e
This commit is contained in:
@@ -176,7 +176,9 @@ public class ConnectivitySettingsManager {
|
||||
|
||||
/**
|
||||
* When detecting a captive portal, immediately disconnect from the
|
||||
* network and do not reconnect to that network in the future.
|
||||
* network and do not reconnect to that network in the future; except
|
||||
* on Wear platform companion proxy networks (transport BLUETOOTH)
|
||||
* will stay behind captive portal.
|
||||
*/
|
||||
public static final int CAPTIVE_PORTAL_MODE_AVOID = 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user