This reverts commit 3ccfdbf6c4.
Reason for revert: Droidmonitor created revert due to Jank regression b/413244466.
Change-Id: I09276810e3611b54526ed3d2af7a35949a412b0c
Use ArraySet to replace List to avoid duplication
Fix: 413449336
Test: presubmit
Flag: NONE - release code
Change-Id: I3bc21fe09ae8e6d5de4ad0389fbd1d723a620c2e
We do not pause updates on tablets anyway, maintaining a separate behavior on phone is unnecessary
Bug: 339700174
Flag: EXEMPT bugfix
Test: Manually verify that the predictions update
Change-Id: Ia835e3c73dc536e0ff5b4c1f5120628a48f7723f
- With grid only Overivew, we can no longer rely on positioning in RecentsView to returning to previous task by using nextTaskView
- After a double tap, on the 2nd TOGGLE command, record the task Ids that this double tap comes from as ToggleInfo
- In the next double tap, if there is a ToggleInfo within last 5 second, return to the previous task
- Also make double tap from home picks up the first grid task instead of a Desktop task
- Simplified special handling when there is only large tile to always fallback to `previousTaskView` when there are no `nextTaskView`. This does not affect cases where there are no Desktop tasks (as previousTaskView will be null).
Fix: 411029836
Test: OverviewCommandHelperTest
Flag: com.android.launcher3.enable_grid_only_overview
Change-Id: I1caa6b3db1bfd2c6203d4f1c5bf3e50c1b3c53c3
Rename methods in BubbleBarViewController and BubbleBarView that set the
expanded state.
These will update the state using an animation.
Update the name to highlight this.
Enables us to create methods to set the state without animation.
Bug: 357115534
Test: refactor, presubmit
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I9d2c46ab1640ab0b19f54103ab8cdb37a5d19dbb
This allows the user to dismiss multiple tasks in a row more quickly.
Fix: 409485085
Test: Manual. Fling to dismiss tasks as quickly as possible.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I9a0d05c1a47b5bc0ef72cde055379e4df50b48b4
This reverts commit 821adae181.
Reason for revert: Likely culprit for b/413593389 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Bug: 413593389
Change-Id: Ie680f8b4934d1678796c1a0381e4472cfbf40f41
SysUIProxy may not be initialized when we set the launcher bubble bar
state and the listener.
Listener is stored in a field and set in sysui when the proxy
initializion is complete.
Add the same for the launcher bubble bar state. Otherwise bubble bar
state in sysui may not be immediately updated.
Bug: 357115534
Test: restart device, trigger a bubble before device is rotated
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I5dca49981c45b0e4c8c2535a283b9d9241eb47ba
This change will dismiss the taskbar edu tooltip if taskbar all apps is
launched while it is showing.
Fix: 410687369
Test: Reset taskbar edu through developer options, open an app, observe
taskbar edu, then launch taskbar all apps. The edu tooltip should disappear
Flag: EXEMPT bugfix
Change-Id: I82d9d09d2f297e2ab20bf794d01ba5735a6d2fbd
With the showHomeBehindDesktop feature enabled, the swipe up from the bottom of the screen inadvertently sets LauncherResumedThroughShellTransition as true. This is because the home container is always running behind freeform tasks and so container.isResumed() is always true. Therefore, add a check for showHomeBehindDesktop to make sure LauncherResumedThroughShellTransition is set to false while the home screen is always shown in the background.
This ensures using the correct InputConsumer to allow swiping into overview.
Bug: 375644149
Flag: com.android.window.flags.show_home_behind_desktop
Test: With freeform tasks shown, swipe up from taskbar to go to overview
Change-Id: I68f45092ddf6ecdbc1d3b259f16048fdc40d8df2
If the systemui process restarts, as it does as part of tests,
it does not get notified about the bubble bar bounds until they
actually change. This could result in invalid bounds for the
expanded view which would prevent bubbling tasks.
This change ensures that the bounds are sent to shell after the
initial handshake.
20x runs: https://android-build.googleplex.com/builds/abtd/run/L46000030011522666
Bug: 411307439
Test: atest BubbleAnythingTest
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I2a5898f32506529b8860274cdee1fcea1a264e83
As of today it shows opaque background, in blur world we want to show the blurred background.
Bug: 410743069
Test: Quick switch from home
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I457f260f0fbfc960e5f3c7b32d9fd09751c24ade
This is mostly used for snapping pages and resetting task values after dismissal.
Fix: 409494671
Fix: 409509940
Test: TaplTestsQuickstep
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: Ie53ad75f6b96bc833cad86fc42b337d845b49a18