summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2021-10-07 15:49:19 -0700
committerTony Wickham <twickham@google.com>2021-10-07 23:29:34 -0700
commit772732de9e21cf85d0d46cb72882c084584563ce (patch)
treeaa19d01ab143a062baac91d7483f24678351f77f /quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java
parent5d2309285c485ff52463593530397af84445a02e (diff)
Migrate mStashedInApp to FLAGS_STASHED_IN_APP
This is to prepare for different flags that could cause taskbar to be stashed in an app without the user explicitly long pressing to stash. Test: run wwdebug and wwlogcat, ensure still get logs for long press stash events; other interactions like clipping tasks to above unstashed taskbar still work as before Bug: 190192993 Bug: 193937948 Change-Id: I90846e650a438e03bdcfdf9c4bf919e19cc5abb3
Diffstat (limited to 'quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java')
-rw-r--r--quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java b/quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java
index 4cd681428a..5998d104a7 100644
--- a/quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java
+++ b/quickstep/src/com/android/launcher3/taskbar/TaskbarViewController.java
@@ -254,7 +254,8 @@ public class TaskbarViewController {
}
public View.OnLongClickListener getBackgroundOnLongClickListener() {
- return view -> mControllers.taskbarStashController.updateAndAnimateIsStashedInApp(true);
+ return view -> mControllers.taskbarStashController
+ .updateAndAnimateIsManuallyStashedInApp(true);
}
/**