diff options
author | Pat Manning <patmanning@google.com> | 2021-09-29 13:22:35 +0000 |
---|---|---|
committer | Pat Manning <patmanning@google.com> | 2021-09-29 14:06:55 +0000 |
commit | da71f41263338808dae68361f3906da7abd42e51 (patch) | |
tree | f8a861ab97e1850a5d75f711d562260512b771f8 /go | |
parent | c1359c448d37a8f576ad1e7d60ac2d99fee3cc59 (diff) | |
download | Launcher3-da71f41263338808dae68361f3906da7abd42e51.tar.gz |
Remove check that system rotation must be allowed for recents rotation
to be allowed.
This check existed before the user was able to rotate via the rotation
button while autorotate setting is off.
Test: manual
Fix: 201511975
Change-Id: I920886cb42ec5b8f4d3eb0bdd80b216cd7c3c849
Diffstat (limited to 'go')
-rw-r--r-- | go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java b/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java index 97ba5905e0..492611fab9 100644 --- a/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java +++ b/go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java @@ -117,7 +117,7 @@ public class GoOverviewActionsView extends OverviewActionsView<OverlayUICallback */ public void updateOrientationState(RecentsOrientedState orientedState) { // dismiss tooltip - boolean canLauncherRotate = orientedState.canRecentsActivityRotate(); + boolean canLauncherRotate = orientedState.isRecentsActivityRotationAllowed(); if (mArrowTipView != null && !canLauncherRotate) { mArrowTipView.close(/* animate= */ false); } |