[RESTRICT AUTOMERGE] Workaround to dump error log instead of exception am: f8fc1326f7 am: bb77ce0eaf

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15690060

Change-Id: I73b7bed211ebd9127d7152c3414d2bf0626610d5
This commit is contained in:
Chilun
2021-08-29 16:36:25 +00:00
committed by Automerger Merge Worker

View File

@@ -4910,7 +4910,8 @@ public final class ActivityThread extends ClientTransactionHandler
Slog.w(TAG, "Activity top position already set to onTop=" + onTop); Slog.w(TAG, "Activity top position already set to onTop=" + onTop);
return; return;
} }
throw new IllegalStateException("Activity top position already set to onTop=" + onTop); // TODO(b/197484331): Remove this short-term workaround while fixing the binder failure.
Slog.e(TAG, "Activity top position already set to onTop=" + onTop);
} }
r.isTopResumedActivity = onTop; r.isTopResumedActivity = onTop;