Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 129da29b authored by Robin Lee's avatar Robin Lee
Browse files

Flag CUJ_DEFAULT_TASK_TO_TASK_ANIMATION

Disables code added in commit 67075447
due to a tread handling issue with CUJ tracker that needs to be fixed
first.

Bug: 404190067
Bug: 407880967
Test: LaunchTaskTest
Flag: com.android.window.flags.transition_handler_cuj_tags
Change-Id: I6413ad1a4ac8ec88963b7cc4383d13e70c42697a
parent 2c61bc4e
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -452,6 +452,7 @@ flag {
    }
}


flag {
    name: "enable_handlers_debugging_mode"
    namespace: "windowing_frontend"
@@ -499,6 +500,17 @@ flag {
    }
}

flag {
    name: "transition_handler_cuj_tags"
    namespace: "windowing_frontend"
    description: "Add CUJ tags for measuring performance of transition handlers"
    bug: "404190067"
    is_fixed_read_only: true
    metadata {
        purpose: PURPOSE_BUGFIX
    }
}

flag {
    name: "intercept_motion_from_move_to_cancel"
    namespace: "windowing_frontend"
+2 −1
Original line number Diff line number Diff line
@@ -362,7 +362,8 @@ public class DefaultTransitionHandler implements Transitions.TransitionHandler {
        final ArrayList<Animator> animations = new ArrayList<>();
        mAnimations.put(transition, animations);

        final boolean isTaskTransition = isTaskTransition(info);
        final boolean isTaskTransition = com.android.window.flags.Flags.transitionHandlerCujTags()
                && isTaskTransition(info);

        final Runnable onAnimFinish = () -> {
            if (!animations.isEmpty()) return;