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

Commit 632b5e34 authored by John Wu's avatar John Wu
Browse files

[Ravenwood] Cleanup unused code

Bug: 292141694
Flag: EXEMPT host side change only
Test: f/b/r/scripts/run-ravenwood-tests.sh
Change-Id: I1bb570ad50fad8546c6dc171c40b1da2ddc25ec1
parent 43661d7a
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) {