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

Commit bcbfab67 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "I see dead code!"

parents aa035cf7 7500325f
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -94,7 +94,6 @@ import com.android.server.autofill.ui.AutoFillUI;
import com.android.server.autofill.ui.PendingUi;

import java.io.PrintWriter;
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
@@ -2856,14 +2855,6 @@ final class Session implements RemoteFillService.FillServiceCallbacks, ViewState
        requestLog.addTaggedData(tag, value);
    }

    private static String requestLogToString(@NonNull LogMaker log) {
        final StringWriter sw = new StringWriter();
        final PrintWriter pw = new PrintWriter(sw);
        dumpRequestLog(pw, log);
        pw.flush();
        return sw.toString();
    }

    private void wtf(@Nullable Exception e, String fmt, Object...args) {
        final String message = String.format(fmt, args);
        mWtfHistory.log(message);