This was introduced with the Rocket Gesture but causes a weird
transition when quickly going from an app to All Apps and invoking
Back, because it thought the previous state was BACKGROUND_APP.
The default just treats the previous state as NORMAL, which is
correct for All Apps. The OVERVIEW case was also an even older
path when you could access All Apps from Overview.
Bug: Can't find it right now.
Test: Open app, quickly go home and to all apps, invoke back.
Flag: EXEMPT bugfix
Change-Id: I76cad48abdba9b621e80d2f0cc0414b59fa35725
Previously: blur if previous and next state want it blurred.
New: blur if previous OR next state want it blurred.
As part of this, change the default from true to false. Only All
Apps currently sets it to true, meaning we blur workspace only
going to or from All Apps.
Fix: 405836159
Test: Launch app, quickly go home and to All Apps
Flag: com.android.launcher3.all_apps_blur
Change-Id: Ic52c5aa2dce7e1e107418952031574bc2e47e585
Bug: 409611054
Test: Presubmit, Verified "Don't suggest app" shortcut works fine for predicted apps.
Flag: EXEMPT Flag removal
Change-Id: Icb92f3519760ad0dc27e10d9690505c737b9dd25
Use the focused display for overview show and toggle commands from keyboard events
Bug: 404854138
Test: local + presubmits
Flag: com.android.launcher3.enable_overview_on_connected_displays
Change-Id: I0e88a4312c3157e318fe2629c9fc27fe9e582351
This fixes a problem of 3-button variant of pinned taskbar. The code for updating the alignment (taskbar to hotseat) animation clashes with LayoutTransition, leading to weird icon states. This change coordinates these two animation systems.
Fix: 409442851
Test: ABTD cherrypick to Q2 release candidate (manual)
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Change-Id: Ifa80c384500a9cd3e65090ee39487977a2ac3b5d
Convert SparseArray<TaskbarActivityContext> into Map<Integer, TaskbarActivityContext>
And use ConcurrentHashMap if flag is on, otherwise HashMap
Bug: 404636836
Test: presubmit
Flag: com.android.launcher3.enable_taskbar_ui_thread
Change-Id: I8f7164616f205d789f60da50d64ce05ae25d9735
Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Fixes: 402147664
Test: pre/post-submit tests; attempted home gesture from -1 with flag on and off; attempted gestures from home after: 1P launcher -> -1 -> settings -> switch to 3P launcher
Change-Id: Ibd945e0c861e0fa59c16738da476be3c16454382
- This will allow task specific information e.g. index, title etc. to be logged
Fix: 365041030
Test: manual
Flag: EXEMPT bug fix
Change-Id: I5e6af8c064062fa3ad2e61d08e9447b076c66463
- See the bug on analysis on perfromance regression
- Using WindowContext which is able to have updated Resource after configuration change on all displays.
Fix: 408988616
Test: manual
Flag: EXEMPT refactor
Change-Id: I716a78072e77e2a5af11bc595f8d477ca136cc48
Add a new command type "TOGGLE_OVERVIEW_PREVIOUS" to toggle between overview and the previous task or homepage.
Renamed the existing command types to make them more precise
Bug: 409036363
Flag: com.android.systemui.shared.cursor_hot_corner
Test: OverviewCommandHelperTest
Change-Id: I7bab39adb0c933e16ac222fafc8be3f60fe36cc1
For key gesture events received in SysUi & Launcher, we will use the SysUi tracked display Id as the source of truth.
The KeyGestureHandler mechanism will be kept because it has less redirection compare to the existing pipeline.
Bug: 406452076
Test: atest NexusLauncherTests:QuickstepKeyGestureEventsHandlerTest
Test: atest NexusLauncherTests:AllAppsActionManagerTest
Test: atest NexusLauncherOutOfProcTests:com.google.android.apps.nexuslauncher.TaplTestsNexus
Test: Verfiy manually that meta key event triggered all apps if the display focused is the default display.
Flag: com.android.window.flags.enable_key_gesture_handler_for_recents
Change-Id: I032a44b903e4e49e85c2a40a1e0bdc49ef8d86b0
This reverts commit d3c7eed166.
Reason for revert: <Droid monitor: Likely culprit for b/410713970 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
Change-Id: I672184a97d70dc3406514da8c2c0fa485c48eefa