Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c155090 authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Move EventLogger.dump call to MR2ServiceImpl.dump

It's a property of dump, not the user handler. So before
this change, the event logger would be dumped once per user.

Bug: 243116883
Test: Manually using adb shell dumpsys media_router
Change-Id: I5a36dac749dc9427e69639e12e561d56c27e63e8
parent aa9ef89a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -630,6 +630,7 @@ class MediaRouter2ServiceImpl {
            } else {
                pw.println(indent + "  <no user records>");
            }
            mEventLogger.dump(pw, indent);
        }
    }

@@ -1382,8 +1383,6 @@ class MediaRouter2ServiceImpl {
            if (!mHandler.runWithScissors(() -> mHandler.dump(pw, indent), 1000)) {
                pw.println(indent + "<could not dump handler state>");
            }

            mEventLogger.dump(pw, indent);
        }
    }