Remove Protocol.BASE_* usage in Connectivity
ConnectivityManager and NetworkAgent do not share their handler with any other component, so there is no reason to use addresses that do not overlap. Protocol.BASE_* was written to allow for interaction "between different StateMachine implementations without a conflict", but the classes do not use StateMachine, and they do not have such interactions. Bug: 177046265 Test: atest FrameworksNetTests Change-Id: I18c341d4a2c01cb9559d682a9ad1ff259e6b5855
This commit is contained in:
@@ -59,8 +59,6 @@ public class Protocol {
|
||||
public static final int BASE_TETHERING = 0x00050000;
|
||||
public static final int BASE_NSD_MANAGER = 0x00060000;
|
||||
public static final int BASE_NETWORK_STATE_TRACKER = 0x00070000;
|
||||
public static final int BASE_CONNECTIVITY_MANAGER = 0x00080000;
|
||||
public static final int BASE_NETWORK_AGENT = 0x00081000;
|
||||
public static final int BASE_NETWORK_FACTORY = 0x00083000;
|
||||
public static final int BASE_ETHERNET = 0x00084000;
|
||||
public static final int BASE_LOWPAN = 0x00085000;
|
||||
|
||||
Reference in New Issue
Block a user