diff --git a/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java b/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java index b10dcae8400d3..5f06ca945eae1 100644 --- a/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java +++ b/services/core/java/com/android/server/media/MediaRouter2ServiceImpl.java @@ -628,8 +628,9 @@ class MediaRouter2ServiceImpl { mUserRecords.valueAt(i).dump(pw, indent + " "); } } else { - pw.println(indent + ""); + pw.println(indent + " "); } + mEventLogger.dump(pw, indent); } } @@ -1382,8 +1383,6 @@ class MediaRouter2ServiceImpl { if (!mHandler.runWithScissors(() -> mHandler.dump(pw, indent), 1000)) { pw.println(indent + ""); } - - mEventLogger.dump(pw, indent); } }