Loading packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/Element.kt +3 −1 Original line number Diff line number Diff line Loading @@ -358,7 +358,9 @@ private fun isElementOpaque( val toState = element.sceneStates[toScene] if (fromState == null && toState == null) { error("This should not happen, element $element is neither in $fromScene or $toScene") // TODO(b/311600838): Throw an exception instead once layers of disposed elements are not // run anymore. return true } val isSharedElement = fromState != null && toState != null Loading Loading
packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/Element.kt +3 −1 Original line number Diff line number Diff line Loading @@ -358,7 +358,9 @@ private fun isElementOpaque( val toState = element.sceneStates[toScene] if (fromState == null && toState == null) { error("This should not happen, element $element is neither in $fromScene or $toScene") // TODO(b/311600838): Throw an exception instead once layers of disposed elements are not // run anymore. return true } val isSharedElement = fromState != null && toState != null Loading