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

Commit 7500325f authored by Felipe Leme's avatar Felipe Leme
Browse files

I see dead code!

Bug: 80093094
Test: mmm -j40 frameworks/base/services/

Change-Id: If00d9e5762376a5873535f20dbad2f6cd9595047
parent 70b447a3
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);