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

Commit 34f7093f authored by Nan Wu's avatar Nan Wu
Browse files

Cut max duration for default transition to 1500

3 seconds is way too long, especially for tap jacking exploitation during animation. Cut it down to 1500 for a more tolerable experience.

Bug: 266433089
Test: manual
Flag: EXEMPT bug fix
Change-Id: I691b7746a8b413e956fdb75c7809904c70853552
parent 92de984b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -124,7 +124,7 @@ import java.util.ArrayList;

/** The default handler that handles anything not already handled. */
public class DefaultTransitionHandler implements Transitions.TransitionHandler {
    private static final int MAX_ANIMATION_DURATION = 3000;
    private static final int MAX_ANIMATION_DURATION = 1500;
    private static final int SIZE_CHANGE_ANIMATION_DURATION = 400;

    private final TransactionPool mTransactionPool;