Commit Graph
81418 Commits
Author SHA1 Message Date
Android Build Coastguard Worker c196a61923 Snap for 13271084 from 4a22d06f6a to 25Q3-release
Change-Id: Iabe17cd9636568e27a4b88be0570bc4e77b77284
2025-03-25 18:44:38 -07:00
Treehugger Robot 4a22d06f6a Merge "Fix split chip wrong translation in Fake Landscape" into main 2025-03-25 15:56:55 -07:00
Treehugger Robot 2032de9d20 Merge "Fix miscellaneous TAPL testing issue" into main 2025-03-25 15:24:28 -07:00
Treehugger Robot be8869060d Merge "Use up-to-date hover tooltip text for recents." into main 2025-03-25 14:28:16 -07:00
Treehugger Robot 3aef4250b3 Merge "Deflaking ShortcutsChangedTaskTest by not using an active model" into main 2025-03-25 14:20:23 -07:00
Priyanka Advani (xWF) 6e32188c4f Merge "Revert "Notify StateManager of workspace reveal animations."" into main 2025-03-25 13:35:54 -07:00
Jordan Silva 5c5028bf0b Fix split chip wrong translation in Fake Landscape
This change will prevent the split menu and app chip translation when in Fake Landscape and Fake Seascape.

Fix: 406239562
Flag: com.android.launcher3.enable_overview_icon_menu
Test: OverviewImageTest
Test: OverviewSplitTaskImageTest
Test: OverviewMenuImageTest
Test: Manual. Instructions in the bug.
Change-Id: Id4aade8ce15cc51e81d5b1b7a82597924cdce7ca
2025-03-25 13:34:41 -07:00
Charlie Anderson 4f1452d977 Merge "Fix shaped icons not centering correctly when scaled" into main 2025-03-25 13:06:39 -07:00
Schneider Victor-Tulias 58b82620df Fix miscellaneous TAPL testing issue
- the recents view container's root view can be null, which is valid with the flag enabled
- The taskbar is now also present in 1P with flag enabled

Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/postsubmit
Change-Id: I4d822a8ea20cc7a28d7a703acbf9b589aa18593e
2025-03-25 12:58:29 -07:00
Charlie Anderson e6c7c82562 Merge "Fix folder closing to different shapes" into main 2025-03-25 12:44:44 -07:00
Brian Isganitis 409ea18bf8 Merge "Perform system actions on focused display." into main 2025-03-25 12:28:30 -07:00
Sunny Goyal e8d901fbdb Deflaking ShortcutsChangedTaskTest by not using an active model
When using an active model, the data can change on the model thread while
the test is running on a different thread.
Instead using the model data directly without an active model running

Bug: 399155567
Flag: EXEMPT testfix
Test: Presubmit
Change-Id: I332cd7ec0f5a2fb4760ce080f016c725b2233c45
2025-03-25 12:12:20 -07:00
Charlie Anderson 347fc5e227 Merge "Make apply button for shapes ~28522% faster in picker" into main 2025-03-25 11:24:32 -07:00
Treehugger Robot fb9548ac90 Merge "Close the Recents window onNewIntent" into main 2025-03-25 11:14:23 -07:00
Treehugger Robot 982c2abef5 Merge "Also cancel TaskView collection Jobs when Overview is not on screen." into main 2025-03-25 10:37:01 -07:00
Daniel Andersson 1735205986 Merge "desktop-exploded-view: Avoid triggering layout when starting animation" into main 2025-03-25 09:21:05 -07:00
Schneider Victor-Tulias 848b743c20 Close the Recents window onNewIntent
Flag: com.android.launcher3.enable_launcher_overview_in_window
Bug: 377678992
Test: pre/postsubmit
Change-Id: Ied8a1ce6bb5b3a0c371ce857fe6df9d94fd04b40
2025-03-25 08:41:39 -07:00
Treehugger Robot d4c2dedf81 Merge "Add null backup for title." into main 2025-03-25 08:36:53 -07:00
Charlie Anderson 34bbc47c37 Make apply button for shapes ~28522% faster in picker
In reality just makes shapes load asynchronously when applying, to unblock users.
In the future we may want to at least wait for preview to load, and handle case where users leave picker early.

Bug: 404486355
Test: tested applying each shape in picker and measuring the elapsed time
Flag: com.android.launcher3.enable_launcher_icon_shapes
Flag: com.android.systemui.shared.new_customization_picker_ui
Change-Id: Ic844a3519a8d7ecde80b72c0616a9e08edceb310
2025-03-25 08:31:04 -07:00
Uwais Ashraf deefa3db71 Also cancel TaskView collection Jobs when Overview is not on screen.
This prevents old scopes still being active when new TaskView state emissions are being sent to main. They were previously cancelled in time but still result in empty continuations occuring on main.

Bug: 395294954
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: Manual - checking perfetto traces
Change-Id: I539a6fde8c9315ceeac74c9bf622d1e2dca1403a
2025-03-25 15:23:56 +00:00
Brandon Dayauon 5cba691b34 Merge changes from topics "fontUpdateGoogleSansFlex", "workToastFontChange" into main
* changes:
  Update personalWork tabs and work related fonts
  Change A-Z font to GSF for app icons and PS header
2025-03-25 07:55:28 -07:00
Shamali Patwa 15fa804ddf Merge "Add ViewStubs for DWB layouts to avoid duplicate views in refactor" into main 2025-03-25 06:38:42 -07:00
Uwais Ashraf e54f38f7c7 Add null backup for title.
Fix: 403146003
Flag: EXEMPT - test bugfix
Test: Postsubmit runs
Change-Id: Icd94a207ba6e35b92c72e407db4ebc1ba0178723
2025-03-25 13:20:25 +00:00
Alex Chau f5956e01b2 Merge "Still play home task dismiss animation when aniamtorSet is null" into main 2025-03-25 05:03:06 -07:00
Treehugger Robot 5ff3717c6f Merge "Add debounce to TaskView emissions" into main 2025-03-25 03:58:44 -07:00
Chaitanya Cheemala (xWF) 62ad6217ac Revert "Notify StateManager of workspace reveal animations."
This reverts commit adb3bf5a8d.

Reason for revert: Likely culprit for b/406159877 - 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: I9bad89e9ffa082bc8a1505e699048a7739aaf24d
2025-03-25 03:18:33 -07:00
Treehugger Robot 0a3f31940d Merge "Notify StateManager of workspace reveal animations." into main 2025-03-24 23:34:33 -07:00
Treehugger Robot 373bb0d190 Merge "Fix broken quick switch from home gesture with recents-in-window enabled" into main 2025-03-24 21:41:08 -07:00
Charlie Anderson 7c165d725f Fix shaped icons not centering correctly when scaled
Test: try different shapes and scaling
Bug: 400774067
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I06d05099195bd3cb3a4e7baf7b397eb90bc06f77
2025-03-25 00:14:55 -04:00
Android Build Coastguard Worker 5ae19d392d Snap for 13264465 from 44552dc98f to 25Q3-release
Change-Id: Ibc178c22e66833f60fc75361cafe90b8cf7be457
2025-03-24 19:01:28 -07:00
Shamali P 085e01ad72 Add a new flag for the digital wellbeing toast refactor
Bug: 404838605
Fix: 405359733
Flag: com.android.launcher3.enable_refactor_digital_wellbeing_toast
Test: EXEMPT flag addition
Change-Id: I4feffbf7b8a19942617b9a9c65b5c98899541450
2025-03-24 16:18:01 -07:00
Brandon Dayauon 8161b7c9ef Update personalWork tabs and work related fonts
Bug:393609630
Test - manually:
AA tab work enabled flag off: https://hsv.googleplex.com/5718615755063296
AA tab work enabled flag on: https://hsv.googleplex.com/6373838181892096
AA tab work disabled flag off: https://hsv.googleplex.com/5020660391739392
AA tab work disabled flag on: https://hsv.googleplex.com/5242306297856000
Flag: com.android.launcher3.gsf_res

Change-Id: Ic1069bc636429f63ab6d583940c14fa7f0211f61
2025-03-24 23:04:57 +00:00
Daniel Andersson 07c09556f0 desktop-exploded-view: Avoid triggering layout when starting animation
This fixes an issue with the desktop task view unexpectedly jumping
first to the right, and then back to the left. See the bug for more
information.

Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug=399822967

Change-Id: I3713b20effa2a7f25ca04ed83ed524772d23ca2f
2025-03-24 15:04:27 -07:00
Treehugger Robot 44552dc98f Merge "Stay in the current task when a new desk is created" into main 2025-03-24 13:23:22 -07:00
Uwais Ashraf 2f193110b7 Add debounce to TaskView emissions
The emissions of each TaskView on Overview open are usually:
1. task exists
2. icon loaded
3. then thumbnail loaded

If the 3 updates above come in quick succession, then ideally the first 2 will be debounced and the last one will be consumed immediately.

Debouncing only when thumbnails are not present gives the best results. This is because thumbnail loading is a decent predictor of there being no more emissions to come as they are typically the last emission for a TaskView.

Bug: 395294954
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Test: ABTD run of failing metric
Change-Id: Ib57d6dc7d9f58b7bb37ec1177b23d89360c24c0e
2025-03-24 20:17:35 +00:00
Vinit Nayak 16210fa129 Merge changes I48079ecb,Ifda20367 into main
* changes:
  Revert "Re-use existing method to get split root"
  Revert "Reset leashes before starting taskbar app pair launch animation"
2025-03-24 13:14:22 -07:00
Min Chen d5aa8031b1 Merge "Pass displayId to CachedTaskInfo when needed" into main 2025-03-24 13:10:29 -07:00
Shamali Patwa bb04b1135f Merge "Revert "Improve reliability of cleanup done in onDestroy."" into main 2025-03-24 13:06:27 -07:00
Min Chen 0599eaa522 Merge "Make sure the correct input consumer is created" into main 2025-03-24 12:34:44 -07:00
Alex Chau 09a3453052 Still play home task dismiss animation when aniamtorSet is null
- If onPrepareGestureEndAnimation is called with null aniamtorSet, plays the dismiss animator directly with 0 duration

Fix: 405368787
Flag: EXEMPT bugfix
Test: manual, adb shell input keyevent KEYCODE_APP_SWITCH or Window + Tab with keybnoard from home
Change-Id: I16048f9454f79e2828c6a4a75b788b9838e886ab
2025-03-24 18:51:26 +00:00
Treehugger Robot 69998a8c77 Merge "Using Choreographer for getting refreshrate instead of display manager" into main 2025-03-24 11:10:42 -07:00
Treehugger Robot e0a018785e Merge "Add screenrecord for TaplUninstallRemoveTest#testUninstallFromAllApps" into main 2025-03-24 11:03:55 -07:00
Bill Yi af19c1113e Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-24 11:00:23 -07:00
Bill Yi 5d20814641 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-24 11:00:23 -07:00
Suhua Lei 77481d611b Stay in the current task when a new desk is created
Bug: 401002178
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Flag: com.android.window.flags.enable_multiple_desktops_backend
Test: manual create new desks
Change-Id: Iaa29c557a421d5c51b90aa808188d3cabec89143
2025-03-24 17:19:17 +00:00
Charlie Anderson 2044dae70e Fix folder closing to different shapes
Bug: 403915526
Flag: com.android.launcher3.enable_launcher_icon_shapes
Test: opening and closing apps from shaped folders

Change-Id: I42f0f689151dcbbd5c8eb6bf424ec4ad7dbe435a
2025-03-24 10:07:44 -07:00
minch e7a054ae2b Make sure the correct input consumer is created
Let `isGestureBlockedTask` return false directly if
`mGestureBlockingTaskId` is not valid. This can avoid
the caller go to create incorrect InputConsumer when
the chekcing `taskId` is also invalid.

Bug: 402218420
Flag: EXEMPT bug fix
Test: m
Change-Id: Ia0cde8ee2b97fc92028458d01487d958f2e87a80
2025-03-24 17:00:28 +00:00
minch 956a9e0abb Pass displayId to CachedTaskInfo when needed
Bug: 401582344
Flag: EXEMPT refactor
Test: m
Change-Id: Id930db727dd0072ab5be04ae4272dc68c8b6dcb3
2025-03-24 16:18:09 +00:00
Sunny Goyal 836a832bfe Using Choreographer for getting refreshrate instead of display manager
Bug: 404582684
Flag: EXEMPT bugfix
Test: Manually verified that values are same as before even after changing refresh rate `adb shell settings put system peak_refresh_rate [30/60/90/120]`
Change-Id: I5d5468d8ab81a9a5e8d8cd67a9097423b750edb3
2025-03-24 08:51:53 -07:00
Shamali Patwa cfcb27aa9d Revert "Improve reliability of cleanup done in onDestroy."
This reverts commit 9cf28d1772.

Reason for revert: Fix in ag/32425180

Change-Id: I714665944384db6f68634de529272e618bccdad9
2025-03-24 08:46:36 -07:00