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

Commit 771c4c29 authored by John Wu's avatar John Wu Committed by Android (Google) Code Review
Browse files

Merge "[Ravenwood] Cleanup unused code" into main

parents ade6a413 632b5e34
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -590,6 +590,7 @@ public class RavenwoodRuntimeEnvironmentController {
        return outer;
    }

    // TODO: use it to tolerate assert failures on the main thread
    static void dispatchMessage(Message msg) {
        try {
            msg.getTarget().dispatchMessage(msg);
@@ -613,13 +614,6 @@ public class RavenwoodRuntimeEnvironmentController {
        maybeThrowPendingRecoverableUncaughtException();
    }

    public static void logTestRunner(String label, Description description) {
        // This message string carefully matches the exact format emitted by on-device tests, to
        // aid developers in debugging raw text logs
        Log.e("TestRunner", label + ": " + description.getMethodName()
                + "(" + description.getTestClass().getName() + ")");
    }

    private static void maybeThrowPendingRecoverableUncaughtException() {
        final Throwable pending = sPendingRecoverableUncaughtException.getAndSet(null);
        if (pending != null) {