Merge "Make displayChange in existing transition just an error."

This commit is contained in:
TreeHugger Robot
2022-11-15 03:25:28 +00:00
committed by Android (Google) Code Review

View File

@@ -423,7 +423,7 @@ class TransitionController {
Transition newTransition = null;
if (isCollecting()) {
if (displayChange != null) {
throw new IllegalArgumentException("Provided displayChange for a non-new request");
Slog.e(TAG, "Provided displayChange for a non-new request", new Throwable());
}
// Make the collecting transition wait until this request is ready.
mCollectingTransition.setReady(readyGroupRef, false);