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

Commit 77ed8e57 authored by Chilun's avatar Chilun Committed by Chilun Huang
Browse files

Workaround to dump error log instead of exception

This is a short-term workaround to dump error log instead of throwing
the exception to unblock the test.

Bug: 209744518
Test: build pass
Change-Id: I2ece3b9d85edc1ae43038e6f69b35f59b160a3dd
(cherry picked from commit f8fc1326)
parent 6dbbb855
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4969,7 +4969,8 @@ public final class ActivityThread extends ClientTransactionHandler
                Slog.w(TAG, "Activity top position already set to onTop=" + onTop);
                return;
            }
            throw new IllegalStateException("Activity top position already set to onTop=" + onTop);
            // TODO(b/209744518): Remove this short-term workaround while fixing the binder failure.
            Slog.e(TAG, "Activity top position already set to onTop=" + onTop);
        }

        r.isTopResumedActivity = onTop;