Move keepalive constants to their right place
The constants CMD_{ADD,REMOVE}_KEEPALIVE_PACKET_FILTER are too
high in the file and not in order. These constants should be
moved back to their rightful place.
Bug: 123987395
Test: 1. m -j 2. m -j doc-comment-check-docs
Change-Id: I44c827d3a2011cf7c66c0444566e14192fec1b1b
This commit is contained in:
@@ -178,7 +178,21 @@ public abstract class NetworkAgent extends Handler {
|
||||
*/
|
||||
public static final int EVENT_SOCKET_KEEPALIVE = BASE + 13;
|
||||
|
||||
// TODO: move the above 2 constants down so they are in order once merge conflicts are resolved
|
||||
/**
|
||||
* Sent by ConnectivityService to inform this network transport of signal strength thresholds
|
||||
* that when crossed should trigger a system wakeup and a NetworkCapabilities update.
|
||||
*
|
||||
* obj = int[] describing signal strength thresholds.
|
||||
*/
|
||||
public static final int CMD_SET_SIGNAL_STRENGTH_THRESHOLDS = BASE + 14;
|
||||
|
||||
/**
|
||||
* Sent by ConnectivityService to the NeworkAgent to inform the agent to avoid
|
||||
* automatically reconnecting to this network (e.g. via autojoin). Happens
|
||||
* when user selects "No" option on the "Stay connected?" dialog box.
|
||||
*/
|
||||
public static final int CMD_PREVENT_AUTOMATIC_RECONNECT = BASE + 15;
|
||||
|
||||
/**
|
||||
* Sent by the KeepaliveTracker to NetworkAgent to add a packet filter.
|
||||
*
|
||||
@@ -198,21 +212,6 @@ public abstract class NetworkAgent extends Handler {
|
||||
*/
|
||||
public static final int CMD_REMOVE_KEEPALIVE_PACKET_FILTER = BASE + 17;
|
||||
|
||||
/**
|
||||
* Sent by ConnectivityService to inform this network transport of signal strength thresholds
|
||||
* that when crossed should trigger a system wakeup and a NetworkCapabilities update.
|
||||
*
|
||||
* obj = int[] describing signal strength thresholds.
|
||||
*/
|
||||
public static final int CMD_SET_SIGNAL_STRENGTH_THRESHOLDS = BASE + 14;
|
||||
|
||||
/**
|
||||
* Sent by ConnectivityService to the NeworkAgent to inform the agent to avoid
|
||||
* automatically reconnecting to this network (e.g. via autojoin). Happens
|
||||
* when user selects "No" option on the "Stay connected?" dialog box.
|
||||
*/
|
||||
public static final int CMD_PREVENT_AUTOMATIC_RECONNECT = BASE + 15;
|
||||
|
||||
// TODO : remove these two constructors. They are a stopgap measure to help sheperding a number
|
||||
// of dependent changes that would conflict throughout the automerger graph. Having these
|
||||
// temporarily helps with the process of going through with all these dependent changes across
|
||||
|
||||
Reference in New Issue
Block a user