| commit | 4930e78c4a57f6b4d21f6e71d17aa0b14cae8a84 | [log] [tgz] |
|---|---|---|
| author | Motomu Utsumi <motomuman@google.com> | Wed Jan 11 12:05:15 2023 +0900 |
| committer | Motomu Utsumi <motomuman@google.com> | Wed Jan 11 17:54:48 2023 +0900 |
| tree | dae95a594da6792fd631d446dba0004ac07b52e1 | |
| parent | ddaf16a493ef7674c52ff4b30571091c3738bc27 [diff] |
Fix invalid base64 map dump when map has no entry This CL addresses review comment on aosp/2183779 Test: atest SkDestroyListenerTest Bug: 247031492 Change-Id: Icd03730b9ee6f6d22b05d72b2dc1652d8d9dd65e
diff --git a/service-t/src/com/android/server/net/NetworkStatsService.java b/service-t/src/com/android/server/net/NetworkStatsService.java index 3a17bdd..6206d83 100644 --- a/service-t/src/com/android/server/net/NetworkStatsService.java +++ b/service-t/src/com/android/server/net/NetworkStatsService.java
@@ -2817,7 +2817,7 @@ return; } if (map.isEmpty()) { - pw.println("No entries"); + pw.println(""); return; } // If there is a concurrent entry deletion, value could be null. http://b/220084230.