Merge "Dump only NORMAL priority information if no priority assigned" am: f93d99deae am: 0b80e965ac

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1708333

Change-Id: Id1564d19efab63fbcfe161442fc85ba64a481160
This commit is contained in:
Chiachang Wang
2021-05-18 03:07:26 +00:00
committed by Automerger Merge Worker

View File

@@ -1045,14 +1045,10 @@ public class ConnectivityService extends IConnectivityManager.Stub
} else {
// ConnectivityService publishes binder service using publishBinderService() with
// no priority assigned will be treated as NORMAL priority. Dumpsys does not send
// "--dump-priority" arguments to the service. Thus, dump both NORMAL and HIGH to
// align the legacy design.
// "--dump-priority" arguments to the service. Thus, dump NORMAL only to align the
// legacy output for dumpsys connectivity.
// TODO: Integrate into signal dump.
dumpNormal(fd, pw, args);
pw.println();
pw.println("DUMP OF SERVICE HIGH connectivity");
pw.println();
dumpHigh(fd, pw);
}
}
}