Commit Graph
87505 Commits
Author SHA1 Message Date
Sebastian Franco ef2be673a0 Make hotseat icons match with Workspace in Fixed Landscape
Bug: 409784022
Test: Screenshot tests
Test: DumptTest
Flag: EXEMPT bug fix
Change-Id: I12b9699b1dc9ba597511be8e929cc8cf1bde7756
2025-04-10 10:33:06 -07:00
Schneider Victor-Tulias dbf9dee5a6 Fix broken recents view loading with overview in window enabled
If recents view is not attached to window when applyLoadPlan is called, then the taskviews will never update until mTaskListChangeId is invalidated. This mainly affects RecentsWindowManager, so added a callback to only initialize after recents view has attached to window.

Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/post-submit tests; opened overview several times
Change-Id: Ie430fb5b0b2b6870c12fed1c6a394088cad1ac17
2025-04-10 09:58:21 -07:00
Treehugger Robot a2b5b589dc Merge "Register all apps key gesture event in quickstep launcher" into main 2025-04-10 09:57:21 -07:00
Stefan Andonian ba797e5454 Merge "Perform Snap animation in Folder PageIndicatorDots" into main 2025-04-10 09:37:35 -07:00
Treehugger Robot 09357adb4e Merge "Update taskbar flags to use DesktopExperienceFlag" into main 2025-04-10 09:25:23 -07:00
Alex Chau 2e7ef70770 Use AplicationContext for getWindowCornerRadius on DEFAULT_DISPLAY
- ag/32861507 changed getWindowCornerRadius to use DisplayContext, which does not get updated on configuartion changes, this caused potentially regression of having wrong corner radius after configuration changes
- ag/32896744  attempted to fix this with window context, get is rolled back due to perfroamcne regression
- This CL is a temp fix to make DEFAULT_DISPLAY continue usign AplicationContext for getWindowCornerRadius, if the AplicationContext is associated to a display, and otherwise fallback to displayContext

Bug: 408988616
Test: manual
Flag: EXEMPT bug fix
Change-Id: I72dbcfb7cd6cdc6783e96768b4f4b51b76d9a245
2025-04-10 16:10:12 +01:00
Alex Chau 5e619cd675 Merge "Provides displayContext instead of windowContext for RotationTouchHelper" into main 2025-04-10 07:39:15 -07:00
Alex Chau e246b3273b Provides displayContext instead of windowContext for RotationTouchHelper
- Also limit usage of displayContext on getWindowCornerRadius only, any other usage causes perf regression
- Note that displayContext does not respond to configuration changes, there might be existing functionality bug already that resources are stale after configuration changes, keeping b/408988616 open to handle it in the future

Bug: 408988616
Fix: 409222870
Fix: 409252967
Test: presubmit and ABTD
Flag: EXEMPT refactor
Change-Id: I024c76326a2deb1ecc035de8319976e31887486b
2025-04-10 07:38:55 -07:00
Steven Ng 28d37181eb Register all apps key gesture event in quickstep launcher
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: I654cdf527670fddc0bd6eb4d8cab18a9e1206ec1
2025-04-10 15:14:09 +01:00
Treehugger Robot c20a68eb4b Merge "Remove EnableHoverOfChildElementsInTaskview flag" into main 2025-04-10 06:30:38 -07:00
samcackett 68a21ed111 Remove EnableHoverOfChildElementsInTaskview flag
Fix: 409610713
Flag: EXEMPT. Flag removal
Test: N/A
Change-Id: Ifa924cb2011bb6e633ee5b79c17601be82b4a779
2025-04-10 10:59:54 +01:00
renovate[bot] 3235f4792a fix(deps): update dependency com.airbnb.android:lottie to v6.6.6 (#5414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 17:46:45 +08:00
renovate[bot] 87aada8e08 fix(deps): update roomversion to v2.7.0 (#5412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 17:46:35 +08:00
renovate[bot] a77f5f54fc fix(deps): update dependency androidx.dynamicanimation:dynamicanimation to v1.1.0 (#5411)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 17:46:24 +08:00
Uwais Ashraf 1fdb1dcbc0 Remove enable_use_top_visible_activity_for_exclude_from_recent_task flag
Fix: 409605610
Test: EXEMPT flag change
Flag: EXEMPT flag removal
Change-Id: I8459a4bc3345652f3b07e5dea97209e250e4f9b8
2025-04-10 02:32:12 -07:00
Sam Cackett bf69d6e6a5 Merge "Add TaskContentView wrapper to TaskThumbnailView" into main 2025-04-09 23:54:40 -07:00
Ajinkya Chalke c19475ceef Update taskbar flags to use DesktopExperienceFlag
- Had previously incorrectly used DesktopModeFlags instead.

Bug: 407954660
Test: m
Flag: EXEMPT updating flags
Change-Id: Id486dfecdb97e70a7ee497b2076ddda1f7355b7d
2025-04-10 05:26:31 +00:00
renovate[bot] a8cba19739 fix(deps): update dependency androidx.core:core-ktx to v1.16.0 (#5410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 09:53:22 +08:00
renovate[bot] 613364578a fix(deps): update dependency androidx.compose:compose-bom to v2025.04.00 (#5409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 09:53:13 +08:00
Stefan Andonian ff336edb06 Perform Snap animation in Folder PageIndicatorDots
Previously snapToPageImmediately was used, but that was the wrong method.

Bug: 408227356
Test: Verified that the animation runs well locally on device.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: Iedee458e61de2d3542137615d3ff86cb42bdfb02
2025-04-09 16:39:36 -07:00
Android Build Coastguard Worker b27fb7cbae Snap for 13335674 from 3726f6fe06 to 25Q3-release
Change-Id: I9404ce4f8a68a77f11b14dd98afeb82e6de1bfeb
2025-04-09 16:24:26 -07:00
Treehugger Robot b0d0d41a2a Merge "Use setLaunchedFromA11y when All Apps is launched from HomeScreen Menu." into main 2025-04-09 15:30:41 -07:00
Sebastián Franco 6f9ea0bebb Merge "Prevent non workspace items from being binded to the Workspace" into main 2025-04-09 14:55:27 -07:00
Brian Isganitis 8c6dd04740 Merge "Expose desktop experience CD Taskbar flag to SecondaryDisplayLauncher." into main 2025-04-09 13:33:40 -07:00
Anushree Ganjam bc640898aa Use setLaunchedFromA11y when All Apps is launched from HomeScreen Menu.
setLaunchedFromA11y makes keyboard not to be shown when "swipe to start search" toggle is off and we do launcher.getStateManager().goToState(ALL_APPS)

"All Apps" was added to Menu as part of A11y requirement in b/386737601, so using setLaunchedFromA11y looks right.

Video : https://b.corp.google.com/issues/407947978#comment9

Bug: 407947978
Test: Manual
Flag: EXEMPT Bugfix

Change-Id: I84162940330a74b3433f7835753151adf55857e7
2025-04-09 13:07:15 -07:00
Treehugger Robot 3726f6fe06 Merge "Reload visible task data when transitioning to Overview" into main 2025-04-09 12:05:35 -07:00
Sebastian Franco ff1936449e Prevent non workspace items from being binded to the Workspace
Bug: 407630150
Test: Manual testing, that's why the bug happen in the first place, working on adding tests, for now this fixes the issue.
Flag: EXEMPT bug fix
Change-Id: I98c9d4bb28a3f02ee6e54c66eadb54445c56aeec
2025-04-09 11:12:45 -07:00
Alex Chau abd2716fea Reload visible task data when transitioning to Overview
- When onPrepareGestureEndAnimation is called, we already know the end target is Overview, loading thumbnail at this point ensure thumbanil is loaded throughout the transition

Fix: 407525135
Flag: com.android.launcher3.enable_grid_only_overview
Test: Home/app to Overview with gesture/3button
Change-Id: Ie91d3989654ff17df94704275523ca097f786293
2025-04-09 17:39:07 +01:00
Stefan Andonian af3be84616 Merge "Match Folder Indicator Arrows according to specs." into main 2025-04-09 09:21:39 -07:00
samcackett 2244b633cc Add TaskContentView wrapper to TaskThumbnailView
- Keep TaskThumbnailViewDeprecated as-is
- Due to flag guarding and xml changes, added bottomright_snapshot id
- Remove redundant FrameLayout from task_header_view.xml and refactor
the view to handle alignment correctly
- Move feature flag logic to the state mapper
- Extract TaskThumbnailViewHeader logic and any related state out of
TaskThumbnailView and move to TaskContentView
- Use vertical LinearLayoutManager to hold the TaskThumbnailViewHeader
and TaskThumbnailView
- Rename TaskThumbnailViewHeader to TaskHeaderView. Rename xml and state
 similarly

This reverts commit df6dc455a7.
This reverts commit 714370a9bfb2e53738b0cd9958acd6540d8d649c.

Reason for revert: Reland previously reverted CL's with fixes

Fix: 408971730
Fix: 397889146
Fix: 401469907
Fix: 402277471
Fix: 403826044
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaskUiStateMapperTest & TaskContentViewScreenshotTest & TaskThumbnailViewScreenshotTest & TaskHeaderViewScreenshotTest & SwitchBetweenSplitPairsGesturalNavPortrait
Change-Id: I01758447ad1194ebbeab748113621b42f3384db8
2025-04-09 16:36:51 +01:00
Perry Wu c5d8fbcb82 Merge "Add null check for checking intent component" into main 2025-04-09 08:29:25 -07:00
Sergey Pinkevich 979b6f8df5 Relax condition for the OPEN change to be on top of transition
Bug: 403591045
Flag: com.android.window.flags.enable_desktop_app_launch_bugfix
Test: DesktopAppLaunchTransitionManagerTest

Change-Id: Ie54877b767148c9874de41d717b013b116c4823a
2025-04-09 12:20:36 +00:00
Vinay Joglekar 96590ffeb0 Merge "Fix unnecessary creation of surface transactions during setBaseSurface." into main 2025-04-09 02:50:18 -07:00
Graciela Putri 3d08afcbb9 Merge "Add displayId to back event" into main 2025-04-09 00:50:47 -07:00
vinayjoglekar 425b11fd9e Fix unnecessary creation of surface transactions during setBaseSurface.
Also swap surface only when required.

Fix: 404647629
Fix: 408937692
Test: Manual. Enter/Exit overview from home/app
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I1562ed11a14021565ec9b9560b7f0d7d2b1468c6
2025-04-09 08:24:35 +01:00
Treehugger Robot d9560b8f92 Merge "[Action Corner] Implement new LauncherProxy method in Launcher" into main 2025-04-08 23:23:05 -07:00
Goooler 0eb43aa180 Revert the group rule for Kotlin 2025-04-09 10:56:55 +08:00
renovate[bot] a419c64b2a fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.1 (#5406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 10:56:45 +08:00
renovate[bot] 4faccbaac3 fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-android to v1.10.2 (#5405)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 02:55:01 +00:00
Goooler 4a293f04bb Update renovate.json5 2025-04-09 10:39:49 +08:00
renovate[bot] 5c8fa32030 chore(deps): update plugin com.gradle.develocity to v4 (#5399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 10:23:04 +08:00
renovate[bot] 57c0be62f1 chore(deps): update plugin com.diffplug.spotless to v7.0.3 (#5396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 10:22:55 +08:00
Treehugger Robot 1af8b49518 Merge "Use expressive dismiss when splitting tasks." into main 2025-04-08 16:27:15 -07:00
Android Build Coastguard Worker f621807c9e Snap for 13329326 from faded705d0 to 25Q3-release
Change-Id: I127c91b4d290cfa1d74750b7bd501b57a1fefbb6
2025-04-08 16:24:40 -07:00
Treehugger Robot f17d86902a Merge "Fix TaskbarSnapshot leak and ANR." into main 2025-04-08 15:44:43 -07:00
Sebastián Franco 59ae5808c7 Merge "Use LauncherActivityScenarioRule in BaseLauncherActivityTest" into main 2025-04-08 15:28:11 -07:00
Toni Barzic 2877a2fb3f Use DesktopExperienceFlags for freeform display taskbar
Bug: 390665752
Flag: com.android.window.flags.enable_desktop_taskbar_on_freeform_displays
Test: None
Change-Id: I40ac43f50c980e6076bb5a842ceaf15702e71738
2025-04-08 22:22:01 +00:00
Stefan Andonian fd5df85fb7 Match Folder Indicator Arrows according to specs.
Bug: 394355070
Test: Attached a screen recording of correct behavior to the bug.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I1e99c4eb9ae79b7d00dadf286689cceb2f0e706e
2025-04-08 15:16:32 -07:00
Brian Isganitis b7a5dc0017 Expose desktop experience CD Taskbar flag to SecondaryDisplayLauncher.
Flag: EXEMPT refactor
Fix: 407924023
Test: go/testedequals
Change-Id: I06344f023eb1fab697f25276bc82e1be0209e4a8
2025-04-08 17:17:15 -04:00
Pat Manning f9865debb7 Use expressive dismiss when splitting tasks.
Snap last grid task to hide clear all during scrolls as well.

Fix: 389081467
Test: TaplTestsSplitscreen
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I153b3dcacdf634358416f0793804c1c4c099a993
2025-04-08 22:07:36 +01:00