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

Commit 23a3576f authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Emit trace event on broadcast-queue health check failure.

Bug: 378654721
Test: manual
Flag: EXEMPT bugfix
Change-Id: I4833d543ef52d7d9dcc2bba42884351450843eb5
parent aa763b87
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,7 @@ public abstract class BroadcastQueue {


    static void checkState(boolean expression, @NonNull String msg) {
    static void checkState(boolean expression, @NonNull String msg) {
        if (!expression) {
        if (!expression) {
            Trace.instantForTrack(Trace.TRACE_TAG_ACTIVITY_MANAGER, TAG, msg);
            throw new IllegalStateException(msg);
            throw new IllegalStateException(msg);
        }
        }
    }
    }