Merge "Make displayChange in existing transition just an error."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8534dce1b2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user