Merge "Replace IS_DEBUGGABLE with isDebuggable module API" am: 793d607d75
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1667304 Change-Id: I52e7aaca589eefb385cec78bf4372922d8089018
This commit is contained in:
@@ -7677,7 +7677,7 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
}
|
}
|
||||||
|
|
||||||
void addRequestReassignment(@NonNull final RequestReassignment reassignment) {
|
void addRequestReassignment(@NonNull final RequestReassignment reassignment) {
|
||||||
if (Build.IS_DEBUGGABLE) {
|
if (Build.isDebuggable()) {
|
||||||
// The code is never supposed to add two reassignments of the same request. Make
|
// The code is never supposed to add two reassignments of the same request. Make
|
||||||
// sure this stays true, but without imposing this expensive check on all
|
// sure this stays true, but without imposing this expensive check on all
|
||||||
// reassignments on all user devices.
|
// reassignments on all user devices.
|
||||||
|
|||||||
Reference in New Issue
Block a user