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

Commit 9d90b758 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Correctly initialize rotation animation hint." into nyc-mr1-dev

parents c49dfaf4 d2265124
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -221,7 +221,12 @@ final class ActivityRecord {
    boolean pendingVoiceInteractionStart;   // Waiting for activity-invoked voice session
    IVoiceInteractionSession voiceSession;  // Voice interaction session for this activity

    int mRotationAnimationHint;
    // A hint to override the window specified rotation animation, or -1
    // to use the window specified value. We use this so that
    // we can select the right animation in the cases of starting
    // windows, where the app hasn't had time to set a value
    // on the window.
    int mRotationAnimationHint = -1;

    private static String startingWindowStateToString(int state) {
        switch (state) {