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

Commit b6d433cd authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Dump warning logs to prevent app crash while no top-resumed changes" into rvc-qpr-dev

parents da0264d9 ed9f50dd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4602,6 +4602,10 @@ public final class ActivityThread extends ClientTransactionHandler {
        }

        if (r.isTopResumedActivity == onTop) {
            if (!Build.IS_DEBUGGABLE) {
                Slog.w(TAG, "Activity top position already set to onTop=" + onTop);
                return;
            }
            throw new IllegalStateException("Activity top position already set to onTop=" + onTop);
        }