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
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
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
* changes:
Move app timer in the taskContentView behind a refactor flag.
Change task content view to be a constraint layout.
Extract out timer text specific utility from the dwb view
Add a ui state for the app timer toast and add a mapper function for it
When device is rotated, launcher is recreated and the existing
controllers are destroyed.
As part of handling the destroy signal, LauncherTaskbarUIController
updates the launcher state to in-app. This launcher state change is
handled by BubbleStashController which in turn notifies
BubbleBarViewController that bubble bar should be collapsed.
BubbleBarViewController then notifies WMShell that bubble bar should be
collapsed. And that state is stored in WMShell.
This causes bubble bar to collapse when it is expanded on home screen
and device is rotated.
Fix this by checking if the TaskbarActivityContext is already destroyed
when a launcher state change happens. And if it is, ignore those state
changes.
Bug: 357115534
Test: expand bubble bar on home screen, rotate device, check that bubble
bar remains expanded
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: I7e019f8d1fd7935582d84a99d3afa3ffadd92799
This CL makes it so that the DesktopTaskView smoothly animates from
the old exploded view to the new when a task is dimissed.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
BUG=411155030
Change-Id: Idf22607336b5974bc72cc0e9009583f885ba0d67
Both flags are in Nextfood, so there will be no change to
user experience.
Bug: 368119679
Bug: 375627272
Test: TaskbarOverflowTest
Flag: com.android.window.flags.enable_taskbar_overflow
Change-Id: Ie3ef3bd49e078f5657bd069bc92c5a48a136e7cb
This is for child cl to be able to place dwb inline in it.
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_task_content_view
Test: Screenshot tests
Change-Id: Id3252fff5776c199ae2a0c7e89d96c423241478c
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Unit test for the util
Change-Id: Ic7444e3e874e3b9870894cd16f7259f6fa1197c6
Bug: 405359383
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: Unit test for mapper
Change-Id: I35271ff33c8610d79674438fb18a3d851eb3d2d3
1. Use UI thread for callback removal
2. Call TISBinderHelper.onDestroy
Bug: 413003643
Test: local test
Flag: EXEMPT bugfix
Change-Id: I99c59842d7b35a52b7ee6424348c1a9ce864f490
- When focused display changes, the KQS view doesn't receive any
KeyEvents thus the view remains open even if user clicks or hits Esc
while on a different display.
- Use FocusState to dismiss KQS if the displayId changes.
Bug: 382762871
Flag: com.android.launcher3.enable_alt_tab_kqs_on_connected_displays
Test: m
Change-Id: Ic34a2bc7863575449e5b5c88377da8b1a8d48c20