Commit Graph
87505 Commits
Author SHA1 Message Date
renovate[bot] a30f4152d5 fix(deps): update androidx.lifecycle to v2.9.1 (#5523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-06 15:50:54 +08:00
renovate[bot] bf3e3c1a49 chore(deps): update dependency gradle to v8.14.2 (#5522)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-06 15:50:45 +08:00
Treehugger Robot 8dfea45cfb Merge "KeyEvent.KEYCODE_TAB changes TaskView" into main 2025-06-05 23:11:00 -07:00
Treehugger Robot 3cf93e5ec2 Merge "Fix the test case fail with PIA V2" into main 2025-06-05 21:07:15 -07:00
Toni Barzic 83ffb6e6bd Don't show tasks shown in taskbar within overflow UI
Bug: 404753077
Flag: com.android.window.flags.enable_taskbar_overflow
Test: Verify that taskbar overflow bubble view only shows tasks not
visible in taskbar.

Change-Id: Ie04f79c91b524bbc592309ef62723d428e78f304
2025-06-06 03:46:55 +00:00
Toshiki Kikuchi 4e9affa253 Do not enter desktop mode if the existing fullscreen task is refocused
This CL prevents taskbar from forcefully moving the existing fullscreen
task to desktop on desktop-first display.
On desktop-first displays, we want to keep the current windowing mode
when its taskbar app icon is clicked.

Flag: com.android.window.flags.enable_desktop_first_fullscreen_refocus_bugfix
Bug: 420499923
Test: TaskbarRecentAppsControllerTest
Change-Id: I5e5c950d2e7bd25762eaddad94c57a4bf29ee800
2025-06-06 09:58:42 +09:00
Ivan Chiang 21bdb605bf Fix the test case fail with PIA V2
In PackageInstaller V2 (PIA V2), the string is updated. Update the
test case.

Flag: android.content.pm.use_pia_v2
Bug: 420539987
Test: atest com.android.launcher3.dragging.TaplUninstallRemoveTest#testUninstallFromWorkspace
Change-Id: Icff1d7b44a34ebe940e66c57f9a6ea1a8477b8ec
2025-06-06 00:39:20 +00:00
Android Build Coastguard Worker 4b1f20faed Snap for 13605992 from 12d49ce2ce to 25Q3-release
Change-Id: I4796a4f1191f65a6ca7be7a7aa7d36d6699d33ce
2025-06-05 16:22:45 -07:00
Anushree Ganjam e4a59b06a1 Move TaskbarModelCallback, TaskbarViewCallback , TaskbarOverlayContext to dagger.
Delete the resource id : search_session_manager_class, taskbar_model_callbacks_factory_class, taskbar_view_callbacks_factory_class, taskbar_overlay_context_factory_class from config.xml.

Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: I7d571eeaba1f707089b2e4e0599051910927e3f2
2025-06-05 15:25:32 -07:00
Shamali Patwa 0d10ebaeaf Update flag on test related to old widget picker UI
Bug: 370950552
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Presubmit
Change-Id: I161235045b771d8534dc9b3bbfa79a7477825a48
2025-06-05 14:44:37 -07:00
Elijah Hewer 2615f6e359 Merge "desktop-exploded-view: Add gradient to TaskHeaderView title" into main 2025-06-05 13:35:01 -07:00
Saumya Prakash 0c7268c11c Merge "Update All Set page to expressive style" into main 2025-06-05 13:29:01 -07:00
shamalip 9540fc9149 WidgetPicker: Pass no widgets available message to widgets list
- Shows an error message when there are no widgets to show.
- Also adds a spacer item for edge padding to offset floating toolbar.

Bug: 408283627
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Unit tests
Change-Id: I30f8245c60be0cbaafc287efca8384eee863e7ca
2025-06-05 20:03:25 +00:00
Jon Miranda 9800280148 Merge "Fix bug where window is cropped to insets on 3 button phone mode." into main 2025-06-05 12:59:43 -07:00
Saumya Prakash 12d49ce2ce Merge "Ensure correct conditions for TaskbarStashControllerTest" into main 2025-06-05 11:54:49 -07:00
Treehugger Robot f3aeca0d4b Merge "Fix app tile blur when clicked on recents button rapidly." into main 2025-06-05 11:47:26 -07:00
Merissa Mitchell 5a5abed293 Merge "[Pip] Don't reload Recents on onActivityUnpinned" into main 2025-06-05 11:33:34 -07:00
Treehugger Robot 8324fc2e17 Merge "Move logic for stable scale factor to DisplayController" into main 2025-06-05 10:48:23 -07:00
Saumya Prakash 3ec143f029 Update All Set page to expressive style
This change sees the All Set page at the end of the Setup wizard be
redesigned to match the expressive theme. Changes include background,
fonts, and overall style.

Fix: 390550173
Test: Run SUW with a device that has the expressive theme enabled for
SUW
Flag: EXEMPT bugfix

Change-Id: I335b62d34a0587d8b5bba7f86dcc0670ec248ada
2025-06-05 10:23:03 -07:00
Elijah Hewer 9e3393a265 Merge "desktop-exploded-view: Update isFocusable location" into main 2025-06-05 10:07:04 -07:00
Jon Miranda b62fbe7a0e Fix bug where window is cropped to insets on 3 button phone mode.
Fixes: 409548889
Test: manual
Flag: EXEMPT bugfix
Change-Id: I829dfa9033fbc308a7d63297b691198672afa655
2025-06-05 09:58:28 -07:00
Treehugger Robot 97c1191d0e Merge "Fix usages of BitmapInfo after converting to kotlin" into main 2025-06-05 09:31:04 -07:00
Vinay Joglekar 8f29707aee Fix app tile blur when clicked on recents button rapidly.
When we tap on recents, setActivityStarted set to true where
setBaseSurface is called with launcher surface. When app is opened
setActivityStarted is false and setBaseSurface is set to null.

In subsequent calls, between where call to setBaseSurface with launcher
is skipped. This causes due to race condition between
removeOnDrawListener which is "asynchronously" posted from
onLauncherDraw and addOnDrawListener. This makes addOnDrawListener not
to get properly added.

Hence mBaseSurface remains null and we do not get chance to set the blur
to launcher layer to 0 and then reparent/relayer blur behind live tile.
Hence blur is still over launcher layer which makes live tile blur.

Added boolean that makes async removeOnDrawListener in onLauncherDraw
cancellable.

Fix: 387428198
Test: Rapidly tap on recents button
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I5ed2ec198563d9edb181a723c9db47ecfe500c5d
2025-06-05 09:20:16 -07:00
Treehugger Robot ca739ac8ae Merge "Add tooltip for taskbar overflow button" into main 2025-06-05 09:02:43 -07:00
Treehugger Robot bd029b8887 Merge "Fix IllegalStateException in AbsSwipeUpHandler.onRecentsAnimationStart" into main 2025-06-05 07:12:28 -07:00
shamalip dfe273543f WidgetPicker: Implement no widgets available message
- Shows an error message when there are no widgets to show.
- Also adds a spacer item for edge padding to offset floating toolbar.

Bug: 408283627
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Test changes
Change-Id: I89e78a9dafc23bb02be13e6fde08971835ff18f0
2025-06-05 13:50:48 +00:00
Sam Cackett d1b5d4c27e Handle focus events for Overview live tile
In liveTile mode, an InputConsumer is used for gesture navigation and
this consumes all InputEvent's. As a result, the framework doesn't see
these events and so focus isn't handled.

This CL override's dispatchKeyEvent in some of the key views in
RecentsView and handles changing focus correctly.

Bug: 366177160
Fix: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: Icc15abb19f72d28340ae944aa59b67ddec2eceda
2025-06-05 14:26:02 +01:00
Treehugger Robot 709590e001 Merge "Do not clear offloaded task's icon if in split selection." into main 2025-06-05 05:58:19 -07:00
Sam Cackett 4c06aff54b KeyEvent.KEYCODE_TAB changes TaskView
This CL restores previous tabbing behaviour to select each TaskView, rather than enter the TaskView and cycle the children as this behaviour hasn't been fully implemented and there are some issues with live tiles, so restoring the previous behaviour.

Note: rather than revert ag/32253797, I decided to leave it as if the menu is open, then the tabbing behaviour works in the menu, so didn't see a reason to revert it.

Bug: 366177160
Bug: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: I27660bdac60ee572cd633bd58465a6b8bc66aad2
2025-06-05 13:53:14 +01:00
Shamali Patwa 7718224896 Merge changes from topic "picker-test-updates" into main
* changes:
  Widget picker: add test tags for major screen components
  Update various tests to prepare for the new picker UI
2025-06-05 05:28:55 -07:00
Elijah Hewer 585b139314 desktop-exploded-view: Add gradient to TaskHeaderView title
Use a gradient at the end of the TaskHeaderView title when the text is
too long, rather than truncating.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 421406718
Change-Id: Iafd3be47297d6fc90854e5f6328e93114782a05c
2025-06-04 22:20:06 -07:00
Toni Barzic 2d0ca1a195 Move logic for stable scale factor to DisplayController
When selecting grid size to use for desktop, size breakpoints are
compared to the display dimensions with "stable" device density.
Expose the scale factor that needs to be applied to dimensions
provided in spec via DisplayController::Info, so it can be more easily
faked in tests.

Bug: 375643744
Test: atest DeviceProfileDumpTest
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I836430cc052f72c0f89b6cdd5ab5309a3482d94e
2025-06-05 05:16:23 +00:00
Toni Barzic f9d6341458 Add tooltip for taskbar overflow button
Bug: 402787161
Test: Manual
Flag: com.android.window.flags.enable_taskbar_overflow

Change-Id: I04704612260f17561b4d18804d792a3fe0d47313
2025-06-05 05:05:44 +00:00
Vinit Nayak ab09085dbd Merge "Removed obsolete test logs" into main 2025-06-04 20:01:43 -07:00
Android Build Coastguard Worker 374f548977 Snap for 13599671 from 4dd73838b7 to 25Q3-release
Change-Id: Iac2aea9a84379db471e4d1d28515cbc3897a113f
2025-06-04 16:19:59 -07:00
Merissa Mitchell 98f0937787 [Pip] Don't reload Recents on onActivityUnpinned
Invalidate the Recents list but don't reload the view immediately when
PiP is dismissed. This effectively reverts commit
If593c2e7271e972e96b1ab21b4396af66b1e3ea4.

Bug: 416666696
Test: m
Test: Presubmits
Test: Manual - enter PiP, then swipe up to Overview. Dismiss PiP and
verify the list is not updated. Exit Overview and re-enter Overview.
Verify that the list is updated with the previously PiP-ed task.
Flag: EXEMPT bug fix

Change-Id: Iaa832f3b4e42404a7469b6b53a379ef42d959442
2025-06-04 15:42:34 -07:00
Elijah Hewer 5a85d99b97 desktop-exploded-view: Update isFocusable location
As a follow up to ag/33785016, move the setting of isFocusable into
enableDesktopExplodedView.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 353949686
Change-Id: I34104592e068ee07699c719b52acf691bdfc3066
2025-06-04 15:21:00 -07:00
Treehugger Robot 9e799fe32b Merge "Switch to the new desk after clear all button is clicked in the recent view" into main 2025-06-04 15:17:07 -07:00
Vinit Nayak 988669d277 Removed obsolete test logs
Flag: EXEMPT bugfix
Fixes: 282963545
Test: Builds
Change-Id: I18c6e95037424080d8e3446a55bd2becc6e0c07b
2025-06-04 17:34:11 -04:00
Treehugger Robot 3eed388766 Merge "Add missing nullability checks for AbsSwipeUpHandler.mRecentsView" into main 2025-06-04 14:21:53 -07:00
Steven Ng 6c3e08a35e Switch to the new desk after clear all button is clicked in the recent view
In connected display, when the clear all button is clicked, instead of launching home screen, this CL waits for the new desk for the display to be created and then launch to that new desk.

Bug: 417944041
Flag: com.android.window.flags.enable_multiple_desktops_backend
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Test: launch an app in connected display. Go to overview and click clear all. Confirmed the new desk is launched
Test: create 2+ desks in the connected display. Go to overview. Swipe up to remove all desk one by one. Upon the last desk removal, the new desk is launched.
Test: atest NexusLauncherTests:TaplTestsOverviewDesktop
Change-Id: I3399274afd3fd4310fb4b1c1e6916b8386d81aaf
2025-06-04 12:56:43 -07:00
Schneider Victor-Tulias dc870049c1 Fix IllegalStateException in AbsSwipeUpHandler.onRecentsAnimationStart
Flag: EXEMPT bug fix
Fixes: 420854746
Test: AbsSwipeUpHandlerTestCase
Change-Id: I534d6cb7c6d05395663cd45b0c889095b8aead4a
2025-06-04 14:45:34 -04:00
Min Chen 4dd73838b7 Merge "Add content description for the AddDesktopButton" into main 2025-06-04 11:32:52 -07:00
Treehugger Robot 68f8caae27 Merge "Update the transparency of AddDesktopButton" into main 2025-06-04 11:23:09 -07:00
Schneider Victor-Tulias 053d45170d Add missing nullability checks for AbsSwipeUpHandler.mRecentsView
Flag: EXEMPT bug fix
Fixes: 422239562
Test: AbsSwipeUpHandlerTestCase.testRecentsViewNullability
Change-Id: I0e2ac2d14bf8ee6130e1349d3c776df0c46fe256
2025-06-04 14:05:53 -04:00
Charlie Anderson a64bc6bfa4 Fix usages of BitmapInfo after converting to kotlin
Bug: 421883017
Flag: EXEMPT refactor - no new logic
Test: N/A
Change-Id: Id48c9fefef37f71f1fc51570664918bcd845e6d6
2025-06-04 17:52:51 +00:00
Shamali Patwa 1dd8075f28 Widget picker: add test tags for major screen components
Adds test tags intended to be used from UI automator tests.

Bug: 408283627
Flag: EXEMPT independent module
Test: Test changes
Change-Id: I06b58ebb6f48906fd6e1dd1be74b011d226ce797
2025-06-04 10:22:23 -07:00
Ebru Kurnaz 348921d7a0 Merge "Check both content mode and sys decor flag to get system decoration callbacks from window manager." into main 2025-06-04 08:48:28 -07:00
Pat Manning afeec5b51f Do not clear offloaded task's icon if in split selection.
We hide the task being split during split selection, and if a config change occurs and we need to re-init the split, we will need the icon still.

Fix: 420543918
Test: Manual.
Flag: EXEMPT Bugfix
Change-Id: Ic4db47633b62b6cbf6b4e66f74912f4c806901e0
2025-06-04 14:04:50 +01:00
Alex Chau 61e96bcf0d Merge "desktop-exploded-view: Add border to desktop contents on hover" into main 2025-06-04 03:36:08 -07:00