Treehugger Robot and Android (Google) Code Review
dfda4408cf
Merge "Cleaning up useActivityOverlay flag" into main
2025-04-16 19:00:18 -07:00
Treehugger Robot and Android (Google) Code Review
2711f8d0d9
Merge "Removing flag enable_smartspace_removal_toggle" into main
2025-04-16 18:57:40 -07:00
Mykola Podolian and Android (Google) Code Review
5373ecfe4f
Merge "Revert^2 "Maximised the taskbar window to the default size"" into main
2025-04-16 17:20:13 -07:00
Treehugger Robot and Android (Google) Code Review
8a45dc2cd1
Merge "Make static DisplayController methods respect display id" into main
2025-04-16 17:10:04 -07:00
Anushree Ganjam and Android (Google) Code Review
ac37e33a17
Merge "Remove flag "enable_shortcut_dont_suggest_app" since it's eligible to be removed." into main
2025-04-16 16:34:58 -07:00
mpodolian
de74f01f01
Revert^2 "Maximised the taskbar window to the default size"
...
This reverts commit 28f664a3cb .
Reason for revert: Check if the presubmit passes
Change-Id: Ic1336d8620916b98eaca3656ed844e1d5f181254
2025-04-16 14:31:12 -07:00
Brian Isganitis and Android (Google) Code Review
793fbd17b0
Merge "Defer updating alignment when LayoutTransition is running." into main
2025-04-16 13:21:23 -07:00
Alex Chau and Android (Google) Code Review
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
Treehugger Robot and Android (Google) Code Review
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
Treehugger Robot and Android (Google) Code Review
a9bb3b53a5
Merge "Adds Blur and BlurFallback styles for All Apps." into main
2025-04-16 10:21:48 -07:00
Liana Kazanova (xWF) and Android (Google) Code Review
5f8e946293
Merge "Revert "Maximised the taskbar window to the default size"" into main
2025-04-16 10:08:52 -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 and Android (Google) Code Review
ac743912a0
Merge "Pass split info to PreviewPositionHelper" into main
2025-04-16 08:11:28 -07:00
Treehugger Robot and Android (Google) Code Review
ab20ede66c
Merge "Fix gesture distance for quick switch home with multiple desks" into main
2025-04-16 07:56:22 -07:00
Treehugger Robot and Android (Google) Code Review
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 and Android (Google) Code Review
71981575d0
Merge "Remove flag private_space_app_installer_button." into main
2025-04-16 02:12:23 -07: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
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
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 and Android (Google) Code Review
ef95172183
Merge "Fix broken -1 -> home transition with overview in window enabled" into main
2025-04-15 16:29:43 -07:00
Saumya Prakash and Android (Google) Code Review
178b49beb3
Merge "Remove the skip button from the gesture tutorial" into main
2025-04-15 15:29:37 -07:00
Treehugger Robot and Android (Google) Code Review
d6a959ba11
Merge "Sort flattened tasks based on last active time" into main
2025-04-15 11:52:19 -07:00
Treehugger Robot and Android (Google) Code Review
d1c2f620a5
Merge "Disable overlay on Desktop tasks to match existing behaviour." into main
2025-04-15 11:25:02 -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
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 and Android (Google) Code Review
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 and Android (Google) Code Review
d5dfd7e7b7
Merge "[Action Corner] Handle overview action in launcher" into main
2025-04-15 09:46:47 -07:00
Li Lin and Android (Google) Code Review
64d6a14386
Merge "Add Growth Framework nudge view." into main
2025-04-15 09:31:58 -07:00
Alex Chau
3019338ae9
Use WindowContext in RotationTouchHelper
...
- See the bug on analysis on perfromance regression
- Using WindowContext which is able to have updated Resource after configuration change on all displays.
Fix: 408988616
Test: manual
Flag: EXEMPT refactor
Change-Id: I716a78072e77e2a5af11bc595f8d477ca136cc48
2025-04-15 09:04:15 -07:00
Uwais Ashraf
dfef467212
Disable overlay on Desktop tasks to match existing behaviour.
...
Fix: 406931344
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: TaskViewModelTest#taskOverlayDisabled_when_OverlayIsEnabledForVisibleDesktopTask
Change-Id: Iadf6946e5eb67dc422c20f91f4395baf22c7ed57
2025-04-15 15:29:03 +00:00
helencheuk
f4d8a9d3a2
[Action Corner] Handle overview action in launcher
...
Add a new command type "TOGGLE_OVERVIEW_PREVIOUS" to toggle between overview and the previous task or homepage.
Renamed the existing command types to make them more precise
Bug: 409036363
Flag: com.android.systemui.shared.cursor_hot_corner
Test: OverviewCommandHelperTest
Change-Id: I7bab39adb0c933e16ac222fafc8be3f60fe36cc1
2025-04-15 15:08:54 +01:00
Steven Ng
8cb1ae879b
Use SysUi focus display ID as the source of truth
...
For key gesture events received in SysUi & Launcher, we will use the SysUi tracked display Id as the source of truth.
The KeyGestureHandler mechanism will be kept because it has less redirection compare to the existing pipeline.
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: I032a44b903e4e49e85c2a40a1e0bdc49ef8d86b0
2025-04-15 12:51:05 +01:00
Treehugger Robot and Android (Google) Code Review
bb2b582e7f
Merge "Injrect WindowContext into RecentsWindowManager" into main
2025-04-15 02:22:07 -07:00
Naresh Kumar Podishetty (xWF) and Android (Google) Code Review
28f664a3cb
Revert "Maximised the taskbar window to the default size"
...
This reverts commit d3c7eed166 .
Reason for revert: <Droid monitor: Likely culprit for b/410713970 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>
Change-Id: I672184a97d70dc3406514da8c2c0fa485c48eefa
2025-04-14 23:30:35 -07:00
Treehugger Robot and Android (Google) Code Review
20db2b67c2
Merge "Fix addDeskButton visibility for quick switch home" into main
2025-04-14 19:51:51 -07:00
Andy Wickham and Android (Google) Code Review
55501c82fb
Merge "Improve blur performance on Launcher." into main
2025-04-14 17:23:13 -07:00
Saumya Prakash
ebfcad524b
Remove the skip button from the gesture tutorial
...
This change removes the legacy skip button from the gesture tutorial. It
is not needed in the current version of the gesture tutorial.
Bug: 400485351
Test: Run tutorial and observe no change as this was for the legacy
tutorial that is no longer in use.
Flag: EXEMPT bugfix
Change-Id: Ice384a0b5811fdc0d09da58ade68539aa146d84d
2025-04-14 23:35:10 +00:00
Treehugger Robot and Android (Google) Code Review
3ebed7ae11
Merge "Only enable taskbar snapshot if taskbar is present." into main
2025-04-14 16:22:47 -07:00
Randy Pfohl and Android (Google) Code Review
72e980e116
Merge changes I3054ef81,If90b1f98 into main
...
* changes:
fixing splitview issue not receiving callback in recents in window
Moving RecentsWindowManager away from taskstackchangelistener
2025-04-14 16:08:15 -07:00
Suhua Lei
a9f1bd967d
Fix addDeskButton visibility for quick switch home
...
Bug: 409575334
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: quick switch home
Change-Id: Ia6f47c2db3bbcffe41ea53fa0160c839ff45611f
2025-04-14 23:05:29 +00:00
Adnan Begovic and Android (Google) Code Review
7f1ba2e7e7
Merge changes from topic "launcher-executors" into main
...
* changes:
launcher3: Implement ExecutorsModule
launcher3: Introduce executors modules.
2025-04-14 15:55:58 -07:00
Mykola Podolian and Android (Google) Code Review
923be5a319
Merge "Maximised the taskbar window to the default size" into main
2025-04-14 15:40:33 -07:00
Treehugger Robot and Android (Google) Code Review
f3f945ed16
Merge "Clean up fully rolled out flag enable_additional_home_animations" into main
2025-04-14 15:40:20 -07:00
Treehugger Robot and Android (Google) Code Review
70901445dc
Merge "Use DesktopExperienceFlags for freeform display taskbar" into main
2025-04-14 15:18:38 -07:00