summaryrefslogtreecommitdiff
path: root/go
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2021-09-29 16:36:09 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-09-29 16:36:09 +0000
commit42b5b78bbf7c7c1545ffa8dc24fee493f861b109 (patch)
treecadc631d58997023b27c0678e42910240a4426fa /go
parent9fe8109b3504f9aa4801d18098282fe5c56d67a0 (diff)
parentda71f41263338808dae68361f3906da7abd42e51 (diff)
downloadLauncher3-42b5b78bbf7c7c1545ffa8dc24fee493f861b109.tar.gz
Merge "Remove check that system rotation must be allowed for recents rotation to be allowed." into sc-v2-dev
Diffstat (limited to 'go')
-rw-r--r--go/quickstep/src/com/android/quickstep/views/GoOverviewActionsView.java2
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);
}