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

Commit e7cfceb5 authored by Craig Mautner's avatar Craig Mautner
Browse files

Code cleanup.

Change-Id: Ie12fea5db28633a95fec440eb7a8c5a5a8c45a1b
parent 37a6ad97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -791,6 +791,7 @@ public class WindowAnimator {
            } else if (dumpAll) {
                pw.print(subPrefix); pw.println("no ScreenRotationAnimation ");
            }
            pw.println();
        }

        pw.println();
+2 −4
Original line number Diff line number Diff line
@@ -10527,15 +10527,13 @@ public class WindowManagerService extends IWindowManager.Stub
                scheduleAnimationLocked();
            } else {
                screenRotationAnimation.kill();
                screenRotationAnimation = null;
                mAnimator.setScreenRotationAnimationLocked(displayId, screenRotationAnimation);
                mAnimator.setScreenRotationAnimationLocked(displayId, null);
                updateRotation = true;
            }
        } else {
            if (screenRotationAnimation != null) {
                screenRotationAnimation.kill();
                screenRotationAnimation = null;
                mAnimator.setScreenRotationAnimationLocked(displayId, screenRotationAnimation);
                mAnimator.setScreenRotationAnimationLocked(displayId, null);
            }
            updateRotation = true;
        }