Merge "Revert QosCallbackException constant values"
This commit is contained in:
@@ -57,6 +57,9 @@ public final class QosCallbackException extends Exception {
|
|||||||
private static final String TAG = "QosCallbackException";
|
private static final String TAG = "QosCallbackException";
|
||||||
|
|
||||||
// Types of exceptions supported //
|
// Types of exceptions supported //
|
||||||
|
// The constants are used for the sendQosCallbackError system API, so they must not be changed
|
||||||
|
// as there may be callers relying on their historical values to call that API.
|
||||||
|
// TODO: mark the constants as @SystemApi, since they are necessary to call a system API.
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final int EX_TYPE_FILTER_NONE = 0;
|
public static final int EX_TYPE_FILTER_NONE = 0;
|
||||||
|
|
||||||
@@ -67,13 +70,13 @@ public final class QosCallbackException extends Exception {
|
|||||||
public static final int EX_TYPE_FILTER_SOCKET_NOT_BOUND = 2;
|
public static final int EX_TYPE_FILTER_SOCKET_NOT_BOUND = 2;
|
||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final int EX_TYPE_FILTER_SOCKET_NOT_CONNECTED = 3;
|
public static final int EX_TYPE_FILTER_NOT_SUPPORTED = 3;
|
||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final int EX_TYPE_FILTER_NOT_SUPPORTED = 4;
|
public static final int EX_TYPE_FILTER_SOCKET_LOCAL_ADDRESS_CHANGED = 4;
|
||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final int EX_TYPE_FILTER_SOCKET_LOCAL_ADDRESS_CHANGED = 5;
|
public static final int EX_TYPE_FILTER_SOCKET_NOT_CONNECTED = 5;
|
||||||
|
|
||||||
/** {@hide} */
|
/** {@hide} */
|
||||||
public static final int EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED = 6;
|
public static final int EX_TYPE_FILTER_SOCKET_REMOTE_ADDRESS_CHANGED = 6;
|
||||||
|
|||||||
Reference in New Issue
Block a user