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

Commit d4beb626 authored by Nan Wu's avatar Nan Wu Committed by Evelyn Torres
Browse files

RESTRICT AUTOMERGE: Backport 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
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:1e9412266ede59c046b83ad3a3fbfcaba94a1787
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:8740d28bfeb63dd021b390a8c7a7c7a6f25c362c
Merged-In: I3b33e47743fc2dee93cb3cb6363626698868beae
Change-Id: I3b33e47743fc2dee93cb3cb6363626698868beae
parent c2bd7644
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,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;

    /**
     * Restrict ability of activities overriding transition animation in a way such that