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

Commit f95bb3ca authored by Matthew Sedam's avatar Matthew Sedam Committed by Android (Google) Code Review
Browse files

Merge "Remove dump() from ContextHubEventLogger"

parents a9fe57cf 77b1e570
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -325,12 +325,8 @@ public class ContextHubEventLogger {
        }
    }

    /**
     * Creates a string representation of the logged events
     *
     * @return the dumped events
     */
    public synchronized String dump() {
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Nanoapp Loads:");
        sb.append(System.lineSeparator());
@@ -368,9 +364,4 @@ public class ContextHubEventLogger {
        }
        return sb.toString();
    }

    @Override
    public String toString() {
        return dump();
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -1054,7 +1054,7 @@ public class ContextHubService extends IContextHubService.Stub {

        pw.println("");
        pw.println("=================== EVENTS ====================");
        pw.println(ContextHubEventLogger.getInstance().dump());
        pw.println(ContextHubEventLogger.getInstance());

        // dump eventLog
    }