Merge "Workaround to dump error log instead of exception" into sc-v2-dev

This commit is contained in:
TreeHugger Robot
2021-12-17 15:57:00 +00:00
committed by Android (Google) Code Review

View File

@@ -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;