docs: private static void changeScene(@NonNull Scene scene, @Nullable Transition transition) {
  
          final ViewGroup sceneRoot = scene.getSceneRoot();
          if (!sPendingTransitions.contains(sceneRoot)) {
              Transition transitionClone = null;
              if (isTransitionsAllowed()) {
                  sPendingTransitions.add(sceneRoot);
  
                  if (transition != null) {
                      transitionClone = transition.clone();
                      transitionClone.setSceneRoot(sceneRoot);
                  }
  
                  Scene oldScene = Scene.getCurrentScene(sceneRoot);
                  if (oldScene != null && transitionClone != null &&
                          oldScene.isCreatedFromLayoutResource()) {
                      transitionClone.setCanRemoveViews(true);
                  }
              }
  
              sceneChangeSetup(sceneRoot, transitionClone);
  
              scene.enter();
  
              sceneChangeRunTransition(sceneRoot, transitionClone);
          }
      }