LauncherPrefs wrapper adds a backup when using backedUpItem for promise icon ids.
Disable backup and restore for this preference as it could cause unwanted situations
Bug: 419426642
Test: None yet
Flag: EXEMPT Bug fix
Change-Id: I4cfef8c587b951ee6b4753e5f2e2a45409294ef3
If the install session comes back as invalid, we can fail to add
a promise icon which leads to icons not showing up on the workspace.
Bug: 419426642
Test: None yet
Flag: EXEMPT Bug fix
Change-Id: I592948eb2b60c2249bb5b141d499d1d5ea01aebc
> Reusing the model binding system instead of using a custom implementation
> Reusing the existing grid update API for previews instead of custom implementation
> Any new functionality is protected via the same flag as the grid update path
Bug: 420997234
Bug: 397782741
Flag: EXEMPT refactor
Test: atest GridPreviewTest
Change-Id: Iaf8f34568618f98cc11138ce3fa327707c5f6f1a
Add a border to the TaskContentsView inside a DesktopTaskView when
hovered with the mouse.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 353949686
Change-Id: I49d72266f88142b012c0fd0aa32b0b17d50eaff0
When an emtpy area of the workspace is tapped/clicked, and tasks are
shown on top of the home screen, launch an Intent to bring the Home
activity to the front. This behavior is intended for the desktop form
factor.
Bug: 419565810
Test: Manual and onWorkspaceTouch_whenHomeBehindDesktop_launchesHomeIntent
Flag: com.android.window.flags.show_home_behind_desktop
Change-Id: Id66e7700873db8d11addf2b5283b4ac126acde5f
This is needed as there is no guarantee content mode will be enabled everytime sys decor flag is enabled.
Bug: 422070126
Test: NA
Flag: EXEMPT bug fix
Change-Id: I6bb85e320448448bc7ce1756250a81747f0cbb42
Also add check to SpringSet end listener to ensure it only fires once.
Fix: 420232180
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I87e023c7bf019a22b5d5b91b2ee30547250c9cd1
TaskbarLauncherStateController needs to be aware of both Launcher's and recent window's statemanagers to update the taskbar state properly. Adding recents window state checks
Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/post submit
Change-Id: I8b812bec3826f90d63dd710be5093deca726b11d
During transition from live tile app in overview to app, we need to
synchronise the transaction. Transaction should be applied immediately
only when live tile becomes static tile.
Fix: 420918073
Test: Tap on live tile to launch.
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I6e0e333d0fe8417e8c8f5d87e5f80fa9b11fdad4
Text styles at the moment uses default tokens, but can be replaced in follow up.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: I91764c5aca3daa729c89882f653bb0f088248170
Also minor adjustments on where color is applied vs clipping / scroll modifiers are applied.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: Ie5270f27d6cb8a6fc1984d6421937b1d8763aee9
This is so, launcher can map it to existing resource tokens enabling
launchers to easily override resources.
Within picker module, we define a default implementation using material
tokens that can be used as reference for which colors are ideal for
specific picker tokens.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: I9c3a6118942114d5a8481f05a6710d8161d56bd7
* changes:
Listen to and handle drag and drop for homescreen and lockscreen widgets in widget picker activity wrapper.
Implement tap-to-add and drag and drop in the compose widget picker
Pass down the widget interaction callback and flag on whether to support drag shadow
Add widget picker drag and add item listeners.
- adds the logic to toggle add button on tapping preview / details
- adds logic to handle add button click
- adds logic to start drag and drop on long press.
The compose's drag and drop handles drag and drop itself, but in this case we need custom interaction to be able to support calling back listeners / setting result for activity etc. So, we use custom logic with android view.
Bug: 408283627
Flag: EXEMPT independent module
Test: See demo
Change-Id: Ie13c919248f8bdd20f90c4eb4a0bec266aedde27
These handle those two operations for home screen when widget picker is
opened as a separate activity.
Bug: 408283627
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Not applicable.
Test: See demo in comments
Change-Id: I37f626b57610379a8af4e7a229406ed0656806c2
Problem: upon exiting the deesktop mode we were getting change in recents tasks which we were commiting to ui and that resulted in hotseat flashing.
Solution: since layout transition is only in use while we are in desktop windowing mode, we will only need to change icon layout bound while we are in desktop mode and not when we are exiting.
Test: Manual, Presubmit
Bug: 417696108
Bug: 415700104
Flag: EXEMPT bugfix
Change-Id: Ibcf65df49e7b48312a27d2750d3d0c6c5d392006