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

Commit 67714172 authored by Riddle Hsu's avatar Riddle Hsu Committed by Automerger Merge Worker
Browse files

Merge "Do not skip restoring rotation lock when returning to home" into...

Merge "Do not skip restoring rotation lock when returning to home" into sc-v2-dev am: 49794ebb am: 669edf20

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16334320

Change-Id: I8390ba655923f8a495d98b496e1b304e3bbbefe9
parents 2f1acdde 669edf20
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -481,7 +481,9 @@ public class RotationButtonController {
     * orientation overview.
     */
    public void setSkipOverrideUserLockPrefsOnce() {
        mSkipOverrideUserLockPrefsOnce = true;
        // If live-tile is enabled (recents animation keeps running in overview), there is no
        // activity switch so the display rotation is not changed, then it is no need to skip.
        mSkipOverrideUserLockPrefsOnce = !mIsRecentsAnimationRunning;
    }

    private boolean shouldOverrideUserLockPrefs(final int rotation) {