Commit Graph

83004 Commits

Author SHA1 Message Date
Brian Isganitis 793fbd17b0 Merge "Defer updating alignment when LayoutTransition is running." into main 2025-04-16 13:21:23 -07:00
Alex Chau baa84629ce Merge "Log LAUNCHER_OVERVIEW_ACTIONS_SCREENSHOT/SELECT with ItemInfo" into main 2025-04-16 12:21:59 -07:00
Anushree Ganjam f6d039c9ab Remove flag "enable_shortcut_dont_suggest_app" since it's eligible to be removed.
Bug: 409611054
Test: Presubmit, Verified "Don't suggest app" shortcut works fine for predicted apps.
Flag: EXEMPT Flag removal
Change-Id: Icb92f3519760ad0dc27e10d9690505c737b9dd25
2025-04-16 18:16:39 +00:00
George Lin fa2c9ab00b Fix shape update unexpected (2/2)
1. Fix shape update unexpected after updating grid
2. Fix grid apply not updated after clicking

Test: Manually tested. See bug.
Bug: 409895694
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: Iad1b29b222adf1a0ed5a73b53b72b4dcf979e335
2025-04-16 18:11:24 +00:00
minch c2b0c5465a Get the animation duration from the res file
Bug: 408060477
Test: m
Flag: EXEMPT refactor
Change-Id: I7e3f4240f515bd8f5e7737218299a7b34be5b532
2025-04-16 17:57:56 +00:00
Anushree Ganjam 0969372b7f Add aconfig flag for replacing psb with qsb.
Move the flag to launcher_search.aconfig

Bug: 405166827
Test: Manual
Flag: com.android.launcher3.enable_qsb_on_hotseat
Change-Id: Iab43331d8a4e3787fa3d02e9194d055f203bcfc9
2025-04-16 17:57:32 +00:00
Treehugger Robot 3a245f5fc2 Merge "Consolidate how we're cleaning up from split in recents" into main 2025-04-16 10:55:59 -07:00
Sunny Goyal 613db2b609 Removing flag enable_smartspace_removal_toggle
Test: Presubmit
Flag: EXEMPT cleanup
Bug: 303471576
Change-Id: Iae8cc3afbf15c66612589fd1e19377e4339af7fc
2025-04-16 10:54:45 -07:00
Pat Manning 8bb25c54a1 Block dismiss while recents is scrolling.
Fix: 407903672
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I91136537cfe5ae07387e90e794e18db3240e9897
2025-04-16 18:33:00 +01:00
Treehugger Robot a9bb3b53a5 Merge "Adds Blur and BlurFallback styles for All Apps." into main 2025-04-16 10:21:48 -07:00
Liana Kazanova (xWF) 5f8e946293 Merge "Revert "Maximised the taskbar window to the default size"" into main 2025-04-16 10:08:52 -07:00
Sebastián Franco 95aa4a3267 Merge "Revert "No-op change, remove methods from BaseLauncherActivityTe..."" into main 2025-04-16 09:58:09 -07:00
Sunny Goyal 0b22c5d9ee Cleaning up useActivityOverlay flag
Bug: 409606388
Test: Presubmit
Flag: EXEMPT cleanup
Change-Id: I0c9b4885dc6d8678b85443571d4714921825c1eb
2025-04-16 08:36:50 -07:00
Vinit Nayak ac743912a0 Merge "Pass split info to PreviewPositionHelper" into main 2025-04-16 08:11:28 -07:00
Will Osborn 135e6f999f Recents keyboard switch on focused display
Use the focused display for overview show and toggle commands from keyboard events

Bug: 404854138
Test: local + presubmits
Flag: com.android.launcher3.enable_overview_on_connected_displays

Change-Id: I0e88a4312c3157e318fe2629c9fc27fe9e582351
2025-04-16 14:56:55 +00:00
Treehugger Robot ab20ede66c Merge "Fix gesture distance for quick switch home with multiple desks" into main 2025-04-16 07:56:22 -07:00
Treehugger Robot 50e28c7f72 Merge changes I8f716461,I2be3b8c8 into main
* changes:
  [Taskbar] Make TaskbarManager.mTaskbars thread safe
  [Taskbar] Declear aconfig flag to render taskbar on per-window ui thread
2025-04-16 06:51:06 -07:00
Will Osborn 7efffe621a Make static DisplayController methods respect display id
Bug: 404854138
Test: local + presubmits
Flag: com.android.launcher3.enable_overview_on_connected_displays
Change-Id: Ica46a400101b1b0126355ef842ca5d8b9be20306
2025-04-16 13:45:29 +00:00
Treehugger Robot 71981575d0 Merge "Remove flag private_space_app_installer_button." into main 2025-04-16 02:12:23 -07:00
Ioana Alexandru a58f02bcec Set shouldForceThemeIcon = true in ThemeManager
This is now preferred over a boolean config value.

Bug: 406507218
Test: manual
Flag: EXEMPT minor change
Change-Id: I3c6f359d7eb78784ea4c9a9f462bc6a6f1914bb6
2025-04-16 09:03:13 +02:00
Holly Sun bd5c455302 Remove flag private_space_app_installer_button.
Bug: 409610010
Test: verified PS app install button stills works
Flag: EXEMPT flag removal
Change-Id: I7fd606ab0fd939bcb1202861d89c3996b241c105
2025-04-15 20:45:59 -07:00
Brian Isganitis 6b4b65f42b Defer updating alignment when LayoutTransition is running.
This fixes a problem of 3-button variant of pinned taskbar. The code for updating the alignment (taskbar to hotseat) animation clashes with LayoutTransition, leading to weird icon states. This change coordinates these two animation systems.

Fix: 409442851
Test: ABTD cherrypick to Q2 release candidate (manual)
Flag: com.android.window.flags.enable_taskbar_recents_layout_transition
Change-Id: Ifa80c384500a9cd3e65090ee39487977a2ac3b5d
2025-04-15 23:26:21 -04:00
Treehugger Robot 8fc4228087 Merge "When only folder page indicator is visible, set gravity to End." into main 2025-04-15 19:44:46 -07:00
Fengjiang Li f33545b864 [Taskbar] Make TaskbarManager.mTaskbars thread safe
Convert SparseArray<TaskbarActivityContext> into Map<Integer, TaskbarActivityContext>
And use ConcurrentHashMap if flag is on, otherwise HashMap

Bug: 404636836
Test: presubmit
Flag: com.android.launcher3.enable_taskbar_ui_thread
Change-Id: I8f7164616f205d789f60da50d64ce05ae25d9735
2025-04-15 19:33:05 -07:00
Fengjiang Li 7b6faef426 [Taskbar] Declear aconfig flag to render taskbar on per-window ui thread
Bug: 404636836
Test: presubmit
Flag: com.android.launcher3.enable_taskbar_ui_thread
Change-Id: I2be3b8c85a2dd83d4074d32bc83f7afd9e2f48f3
2025-04-15 19:32:52 -07:00
Surbhi Kadam 301befd012 Launcher3: send token with early wakeup request to SurfaceFlinger
Passes a binder token to SurfaceFlinger and adds tracing for debugging

Bug: 323292798
Test: presubmit
Flag: EXEMPT log only update; bugfix

Change-Id: I7875bd6a2498a938af236ffda783f7c265cdd874
2025-04-16 00:03:58 +00:00
Anushree Ganjam f2dc049658 Merge "Add aconfig flag for replacing psb with qsb." into main 2025-04-15 16:52:03 -07:00
Andy Wickham 16a024df71 Adds Blur and BlurFallback styles for All Apps.
Technically these styles can be used throughout Launcher, e.g.
Widget Picker and Folders, but this CL only applies it to All Apps.

At a high level, views wishing to apply transparency to show blur
should use these new attr values rather than colors directly.

When blur changes, e.g. starting or stopping battery saver, the
style is re-applied and revelant views are invalidated. For
Launcher, this is handled by DepthController, and for Taskbar it's
handled by a CrossWindowBlurListener.

Also updated the Private Space animation slightly to account for
the translucent decorators (specifically, we can't use the mask
view to cover them when blur is enabled).

Screenshots: https://drive.google.com/drive/folders/1tU472KHotgEBpT-Ec9VOBWPBf_YdVqv2?resourcekey=0-ebf7W8O6iDJ4UVMtRzTABg&usp=sharing
Private Space animations: https://drive.google.com/file/d/1h5pn8Xb17TPcbujr7uSAJNTq8kwNZoIp/view?usp=drive_link&resourcekey=0-TzpaJ16Gg8_QJctBx4oiIg
Private Space QS Tile animations: https://drive.google.com/file/d/1dCuqnqd5z2kSBEakGobMlEkMwFDBWRbJ/view?usp=drive_link&resourcekey=0-qRVFPb-a6OzaZQOf4x86Jw

Bug: 371343636
Test: Manual
Flag: com.android.launcher3.all_apps_blur
Change-Id: Ia9f581f50d1adc0830569656bdeb751deb710a9c
2025-04-15 16:42:56 -07:00
Treehugger Robot ef95172183 Merge "Fix broken -1 -> home transition with overview in window enabled" into main 2025-04-15 16:29:43 -07:00
Sebastián Franco a746ec8aa4 Revert "No-op change, remove methods from BaseLauncherActivityTe..."
Revert submission 32999330-activity-test-refactor-1

Reason for revert: b/410713970

Reverted changes: /q/submissionid:32999330-activity-test-refactor-1

Change-Id: Id9dd4692bc5c500fd8831a2edad80a034c4fa405
2025-04-15 15:55:35 -07:00
Saumya Prakash 178b49beb3 Merge "Remove the skip button from the gesture tutorial" into main 2025-04-15 15:29:37 -07:00
Treehugger Robot 0aa937de1a Merge "Enforce a mutex in all remote tapl tests" into main 2025-04-15 14:52:13 -07:00
Anushree Ganjam 8cb9f93636 Add aconfig flag for replacing psb with qsb.
Bug: 405166827
Test: Manual
Flag: com.android.launcher3.enable_qsb_on_homescreen
Change-Id: I34ebbcd71014215243ab0bb39fafdff4175ff856
2025-04-15 20:47:43 +00:00
Treehugger Robot 14a18dbf9b Merge "Fix launcher tests in studio" into main 2025-04-15 13:05:00 -07:00
Adnan Begovic 315625af9f Merge changes Id4127db3,I6359adc1 into main
* changes:
  launcher3: Expose coroutine contexts from concurrency module.
  launcher3: Use @UiExecutor within ThemeManager.
2025-04-15 12:48:23 -07:00
Shamali Patwa 79563b3d77 Merge "Add accessibility actions for "REMOVE", "UNINSTALL" & "Widget Settings"" into main 2025-04-15 12:07:37 -07:00
Dave Mankoff 396d69956b Fix launcher tests in studio
Fixes: 410874290
Flag: EXEMPT small fixes for gradle
Test: test_gradle_build.sh
Change-Id: Iab8ad757d11e1d0ba5f85a7063e2d087ffc38d2b
2025-04-15 19:05:48 +00:00
Schneider Victor-Tulias d079748134 Enforce a mutex in all remote tapl tests
Flag: EXEMPT test fix
Fixes: 405849365
Test: TAPL tests; pre/postsubmit
Change-Id: Icf5b3c6b43b4d8ecc39246f3eb03e32738af7444
2025-04-15 15:05:26 -04:00
Treehugger Robot d6a959ba11 Merge "Sort flattened tasks based on last active time" into main 2025-04-15 11:52:19 -07:00
Stefan Andonian 060b364718 When only folder page indicator is visible, set gravity to End.
Bug: 394355070
Test: Verified locally that indicator dots are not cut off with 6 pages.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I1804cc7b8de032415cb8fe557a0e98a8f4acb5cd
2025-04-15 11:31:50 -07:00
Treehugger Robot d1c2f620a5 Merge "Disable overlay on Desktop tasks to match existing behaviour." into main 2025-04-15 11:25:02 -07:00
Treehugger Robot 839533ae04 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-04-15 10:36:49 -07:00
Treehugger Robot 653b015f30 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-04-15 10:36:49 -07:00
Suhua Lei d5f65a0bc4 Fix gesture distance for quick switch home with multiple desks
Bug: 410054827
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: quick switch home
Change-Id: Icb552b8e9538446d93248f14178d27922aa11575
2025-04-15 17:19:26 +00:00
Treehugger Robot ba07ec67ab Merge "Dispose input monitor on the main thread in InputConsumerUtilsTest" into main 2025-04-15 10:19:06 -07:00
Vinit Nayak b227f70b6b Pass split info to PreviewPositionHelper
* Needed to properly crop flex split apps that
are offscreen

Bug: 395547133
Test: Swipe up shows correct crop
Flag: com.android.wm.shell.enable_flexible_two_app_split
Change-Id: I8006ea497f46b97cf38fd8576265d7b4a4452615
2025-04-15 17:18:23 +00:00
Schneider Victor-Tulias 3731a852bf Fix broken -1 -> home transition with overview in window enabled
Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Fixes: 402147664
Test: pre/post-submit tests; attempted home gesture from -1 with flag on and off; attempted gestures from home after: 1P launcher -> -1 -> settings -> switch to 3P launcher
Change-Id: Ibd945e0c861e0fa59c16738da476be3c16454382
2025-04-15 10:15:31 -07:00
Steven Ng c5e8d1a929 Merge "Use SysUi focus display ID as the source of truth" into main 2025-04-15 10:11:20 -07:00
Alex Chau db58258e08 Log LAUNCHER_OVERVIEW_ACTIONS_SCREENSHOT/SELECT with ItemInfo
- This will allow task specific information e.g. index, title etc. to be logged

Fix: 365041030
Test: manual
Flag: EXEMPT bug fix
Change-Id: I5e6af8c064062fa3ad2e61d08e9447b076c66463
2025-04-15 17:49:16 +01:00
Helen Cheuk d5dfd7e7b7 Merge "[Action Corner] Handle overview action in launcher" into main 2025-04-15 09:46:47 -07:00