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

Commit e343764f authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

Correctly initialize rotation animation hint. am: d2265124 am: 341fad40

am: 089ac744

Change-Id: I35e20b73ce9f920d7a2d98f8e642bba1754b84ab
parents 37123ce4 089ac744
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -222,7 +222,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) {