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
animateToPosition now only occurs if the user performs a fling.
Bug: 394355070
Test: Verified this works locally. Please see the bug for a screen recording of the working behavior.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Ic57495e3aec00d903ed948b887723b1389337c8d
Bug: 394355070
Test: Verified locally that indicator dots are not cut off with 6 pages. See screen recording on https://buganizer.corp.google.com/issues/394355070#comment28
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I5b0ac0441201e8dafcba10ff52ac24e1821815b9
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
Test: Use dumpsys to check if SurfaceControlViewHost still exists
Bug: 410052692
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: Ibbb29445422dd37e764be2f518c9d528340cdfaa
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
1) Moving any DB file deletion before opening the DB to avoid deleting already opened file
2) Using a sandbox directory for BackupAndRestoreDBSelectionTest which can delete actively opened files causing other tests to fail
Bug: 403551539
Flag: EXEMPT bugfix
Test: Presubmit
Change-Id: Ib1088a0e486edf755e5f7dcd738eb835af78b4c4