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

Commit 1865ad99 authored by Hunter Knepshield's avatar Hunter Knepshield
Browse files

Fix TelephonyRegistry's mListenLog.

The size of the LocalLog buffer was unintentionally reduced to 0 in
ag/12288380. Also fix minor formatting related in the dump code.

Test: make, dumpsys telephony.registry
Bug: 176052183
Change-Id: I68cc337bfeff6b728f68511477ffe49a9a7ea762
parent 5958b27f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {

    private final LocalLog mLocalLog = new LocalLog(200);

    private final LocalLog mListenLog = new LocalLog(00);
    private final LocalLog mListenLog = new LocalLog(200);

    /**
     * Per-phone map of precise data connection state. The key of the map is the pair of transport
@@ -2316,7 +2316,9 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
            pw.println("local logs:");
            pw.increaseIndent();
            mLocalLog.dump(fd, pw, args);
            pw.decreaseIndent();
            pw.println("listen logs:");
            pw.increaseIndent();
            mListenLog.dump(fd, pw, args);
            pw.decreaseIndent();
            pw.println("registrations: count=" + recordCount);