mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Merge "Always return portrait orientation handler when Recents activity can rotate" into tm-qpr-dev
This commit is contained in:
@@ -221,8 +221,7 @@ public class RecentsOrientedState implements
|
||||
|
||||
private boolean updateHandler() {
|
||||
mRecentsActivityRotation = inferRecentsActivityRotation(mDisplayRotation);
|
||||
if (mRecentsActivityRotation == mTouchRotation || (isRecentsActivityRotationAllowed()
|
||||
&& (mFlags & FLAG_SWIPE_UP_NOT_RUNNING) != 0)) {
|
||||
if (mRecentsActivityRotation == mTouchRotation || isRecentsActivityRotationAllowed()) {
|
||||
mOrientationHandler = PagedOrientationHandler.PORTRAIT;
|
||||
} else if (mTouchRotation == ROTATION_90) {
|
||||
mOrientationHandler = PagedOrientationHandler.LANDSCAPE;
|
||||
|
||||
Reference in New Issue
Block a user