Commit Graph

78507 Commits

Author SHA1 Message Date
Bill Yi f38320179a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 4250719445 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/28776182

Change-Id: I3e47087492884f3aaaebcbb949ce36bcf47f83ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 19:10:17 +00:00
Treehugger Robot 12cf2d3f23 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: afaa3cf649 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/28776179

Change-Id: I01a0fa947a679a23c0e8c6a3a972ff062951c22a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 19:10:14 +00:00
Bill Yi 604ec39452 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 7af487fe74 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/28776179

Change-Id: I424b2d4ca25afbad22f09462296d601d860cc208
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 19:10:09 +00:00
Bill Yi cf13c99325 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c39d3df6fa -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/28776091

Change-Id: Ieec418dad01ae16b3460e802a036494b4fcefe1d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 19:09:58 +00:00
Treehugger Robot de7caa6162 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-08-13 18:51:39 +00:00
Treehugger Robot afaa3cf649 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-08-13 18:51:39 +00:00
Treehugger Robot 6e6c57cc58 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-13 18:50:28 +00:00
Treehugger Robot 5cb9c2f12b Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-13 18:50:26 +00:00
Treehugger Robot b5bd26908d Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-08-13 18:49:08 +00:00
Treehugger Robot 0151027662 Merge "Revert "Mark TaplTestsOverviewDesktop.enterDesktopViaOverviewMenu as postsubmit only"" into main 2024-08-13 18:35:25 +00:00
Charlie Anderson 08a0a65fca Ensure that inactive archived icons in the folder preview are not shown as grey pending icons
Bug: 350758155
Test: manually verified + PreviewItemManagerTest
Flag: com.android.launcher3.use_new_icon_for_archived_apps
Change-Id: Ic378c4f840ce05ecbcbbc3f4f57087c9acd7c1f5
2024-08-13 13:01:18 -04:00
Vinay Joglekar cd53b74000 Merge "Announce “Desktop” when focusing on the desktop mode in Overview" into main 2024-08-13 16:24:27 +00:00
Schneider Victor-tulias 600c508569 Add screen recording to TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Flag: EXEMPT debug cl
Bug: 358607191
Test: TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Change-Id: I06e82c3f9c4ecf48b1c627862125e0ff10a732fd
2024-08-13 11:14:27 -04:00
vinayjoglekar 95e590229a Announce “Desktop” when focusing on the desktop mode in Overview
https://drive.google.com/file/d/1MNUyDtRhyU8tKRZ5JONLAeUBQ_8Vrids/view?usp=drive_link

Test: NA
BUG: 329375034
Flag: com.android.window.flags.enable_desktop_windowing_mode
Change-Id: I36460002be94697746fb085e4aeca9a6ac804002
2024-08-13 13:16:10 +00:00
Helen Cheuk 801f86ecac Merge "[Contextual Edu] Enable updating Edu data in Launcher" into main 2024-08-13 12:52:02 +00:00
Kai Li d5b25b8e8e Merge "Add a parameter to requestAssistDataForTask to allow fetching the structure." into main 2024-08-13 11:46:15 +00:00
Alex Chau 041de0ba78 Revert "Mark TaplTestsOverviewDesktop.enterDesktopViaOverviewMenu as postsubmit only"
This reverts commit 194768420d.

Reason for revert: Memory leak has now been fixed
Fix: 358364342

Change-Id: I39e80d56a2c99ccb69d8de5170fd3e515bdef25b
2024-08-13 11:12:41 +00:00
Uwais Ashraf d39bc803c7 Merge "Improve performance of thumbnail retrieval - hot taskData flow" into main 2024-08-13 10:59:32 +00:00
Bill Yi 4250719445 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id16ed4d7bf8ac0bb735614a0c0e2c5e7033ce652
2024-08-12 23:29:12 -07:00
Bill Yi b93ce3ea87 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I58c21afbf1b24e0bd624fb15b07895c02af47382
2024-08-12 23:28:45 -07:00
Bill Yi c39d3df6fa Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie08df76943a5600fb8b8b99e59d14e0627ae6a57
2024-08-12 23:28:15 -07:00
Bill Yi 7da4856cae Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icf75ff12cad1c4f76df798afd02bda807c41b336
2024-08-12 23:27:55 -07:00
Bill Yi 7af487fe74 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8020c2c530f1ac77137280ef46d6a2882f3a975b
2024-08-12 23:27:32 -07:00
Bill Yi c2691ad55c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iada13ff2cc6e3e2115394f8615d2414ed4107998
2024-08-12 23:27:04 -07:00
Tracy Zhou c632ae351d Disable 2-finger swipe from home to pull down notifications
Bug: 356804470
Test: manual
Flag: EXEMPT bugfix
Change-Id: I612e3c7ac7cd0db2fe2dbb142f0271c07ffdda3b
2024-08-12 21:28:17 -07:00
Treehugger Robot e3165184f6 Merge "Revert "Synchronize the app launch and taskbar stash animations."" into main 2024-08-13 02:19:52 +00:00
Jon Miranda 50a7279ae6 Revert "Synchronize the app launch and taskbar stash animations."
This reverts commit cde962dcb7.

Fixes: 355666644
Reason for revert: Memory leak b/355666644

Change-Id: I2eee00d2d8d65e1e1805ad76fafc7caab8626715
2024-08-13 00:41:01 +00:00
Ben Lin d924a99dd6 Merge "Check for leftTopTask and rightBottomTask in KQS." into main 2024-08-12 22:24:45 +00:00
Automerger Merge Worker d4c824aec8 Merge "[automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 15199cd3dc -s ours" into main 2024-08-12 21:07:08 +00:00
Xin Li 45364d5ee7 [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 15199cd3dc -s ours
am skip reason: Merged-In I0898d202b9dd4742c0c7d2c0d6b340c748e8acf7 with SHA-1 1cd3fe27f2 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/28718651

Change-Id: I7e4cacbcd69404e8398853ce6d9faae4b293c921
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:19 +00:00
Ben Lin fd9056cab4 Check for leftTopTask and rightBottomTask in KQS.
KQS currently always take the GroupTask's taskId1 and taskId2 as
leftTop/rightBottom, in that order. However, sometimes it is possible
that the order is flipped; RecentTasksController#getRecentTasks return a
list of tasks base on recency, and it is possible that when it
initializes a new GroupTask, it put leftBottom as task2 and vice versa,
completely dependent on how they are processed. This CL uses
GroupTask#mSplitBounds as the source of truth to see

1) Which leftTop/rightBottom to draw for the thumbnail and
2) Which task is leftTop, which task is rightBottom, for re-launching

Bug: 328691131
Test: Manually; using KQS, no longer see the app in the wrong places
Flag: EXEMPT bugfix
Change-Id: I14b3becb05359a917372ec2d7d80d32190f0f96b
2024-08-12 13:33:35 -07:00
Fengjiang Li 24184fa7cd [NPE] Skip all apps icon preinflatioino on bg thread if layout manager is set to null
Fix: 355192472
Test: presubmit
Flag: NONE - bug fix
Change-Id: Icdac63c58983cd7bada5d75f0e257d45d48a8d2e
2024-08-12 11:49:19 -07:00
Uwais Ashraf 60b62d734d Improve performance of thumbnail retrieval - hot taskData flow
Bug: 357542209
Test: TasksRepositoryTest, manual with reduced speed video
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: Ie94daf61d8e41c4b9c12d67f5f45166104879325
2024-08-12 16:49:24 +00:00
Vinay Joglekar fee62395a2 Merge "Update desktop icon/app Chip with the new icon" into main 2024-08-12 09:03:14 +00:00
Liran Binyamin 9b559c48a3 Synchronize bar expansion with WM Shell
When a bubble is added and requested to be expanded, notify WM Shell
to show the expanded view when expansion actually starts on the
launcher side.

Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/cPZuf3STUqX9uFZ4zneRO2

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 339683389
Test: atest BubbleBarViewAnimatorTest
Change-Id: I0ba27acf8bae560a10b754241f8f2d8e3281cef9
2024-08-11 04:36:14 -04:00
Liran Binyamin de9b1df642 Merge "Remove BubbleBarView.mIsAnimatingNewBubble" into main 2024-08-11 08:25:29 +00:00
Treehugger Robot a039778109 Merge "Show Taskbar education when launching an app pair." into main 2024-08-10 01:23:54 +00:00
Saumya Prakash e7d9e9f647 Show Taskbar education when launching an app pair.
This change ensures that the Taskbar education shows up when a saved app
pair is launched and the education had not been seen before. This
matches the expected behavior as well as transient taskbar's behavior.

Fix: 323298512
Test: Create an app pair, reset taskbar education and launch the app
pair from home. Repeat for 3 button nav and pinned taskbar.
Flag: EXEMPT bugfix

Change-Id: I5ca68424f846f25beb1390c2dc50dfac3ba8e8d9
2024-08-09 23:37:45 +00:00
Treehugger Robot 50051adcc1 Merge "Revert AllAppsRecyclerViewPoolTest.kt" into main 2024-08-09 23:01:49 +00:00
Winson Chung f3a85e17af Merge "Explicitly release references to the controller" into main 2024-08-09 22:42:02 +00:00
Mykola Podolian d5af1e7cd5 Merge "Added taskbar in/out animation when the bubble bar is expanded/collapsed" into main 2024-08-09 21:36:51 +00:00
Fengjiang Li 6554ab99e3 Revert AllAppsRecyclerViewPoolTest.kt
Manual revert of ag/28323761, will add it back after confirming preformance test regression has been resolved.

Fix: 354560500
Test: Revert of test
Flag: NONE
Change-Id: Ibc9ec7a641c7df80ac5a7f08933dadfdf0b8d1e6
2024-08-09 13:06:52 -07:00
Winson Chung 08ef39c5ba Explicitly release references to the controller
- This is a workaround for lingering phantom references to binder
  stubs

Flag: EXEMPT bugfix
Bug: 332339792
Test: Presubmit
Change-Id: I3e790f627d434760e87be1dc6c8643d03fceb400
2024-08-09 19:57:00 +00:00
mpodolian 6ba789a98f Added taskbar in/out animation when the bubble bar is expanded/collapsed
Added taskbar icon animation when the bubble bar expansion changes.

If there is enough space to accommodate both bars with spacing in
between, the taskbar remains. If there is not enough space, the taskbar
is animated out and then animated in when the bubble bar is collapsed.

Bug: 346391377
Flag: com.android.wm.shell.enable_bubble_bar
Test: Manual. Set taskbar to persistent mode via 3-button navigation or
through the taskbar itself. Have enough bubbles to cover the taskbar
when the bubble bar is extended. Expand the bubble bar and observe the
taskbar icons animating out. Remove a few bubbles so there is enough
space to accommodate both bars. Expand the bubble bar and observe that
both bars are visible.

Change-Id: I0b03a010c1e49ab39a17934f6629d5496fd66978
2024-08-09 11:10:28 -07:00
Tracy Zhou 4b257550b7 Merge "Do not animate unfolded bar when folded on certain SysUI flag update" into main 2024-08-09 17:51:19 +00:00
Mady Mellor de28dc32eb Merge "Add a bubble option to launcher long press menus" into main 2024-08-09 17:25:02 +00:00
helencheuk 39a6093369 [Contextual Edu] Enable updating Edu data in Launcher
- Added ContextualEduStatsManager (in Launcher3) and SystemContextualEduStatsManager(in Quickstep) to enable classes in Launcher3 and quickstep to update contextual edu data
- Implemented new updateContextualEduData method in SystemUiProxy file, so the EduStatsManager could use it for update
- AbsSwipeUpHandler handles the logic to go home/overview when in app. Added code to update contextual edu data when these action is triggered.

Test: LauncherSwipeHandlerV2Test
Bug: 357542123
Flag: com.android.systemui.keyboard_touchpad_contextual_education
Change-Id: I6fc5a285ba1a1d770c54cc7af444ff8b3051bd00
2024-08-09 13:38:21 +01:00
vinayjoglekar 7a73c2db59 Update desktop icon/app Chip with the new icon
Add desktop icon/app Chip text

Test: OverviewDesktopTaskImageTest
BUG: 320310236
Flag: EXEMPT resource only update
Change-Id: I6a41cff78690777745b8dcbfea1b8fadee200f96
2024-08-09 11:22:54 +00:00
Alex Chau ecb9ecd770 Merge "Mark TaplTestsOverviewDesktop.enterDesktopViaOverviewMenu as postsubmit only" into main 2024-08-09 10:39:13 +00:00
Alex Chau 194768420d Mark TaplTestsOverviewDesktop.enterDesktopViaOverviewMenu as postsubmit only
Fix: 358364342
Bug: 320313527
Test: TaplTestsOverviewDesktop
Flag: EXEMPT TEST_ONLY
Change-Id: I52f2db342ca75f66d5159a669cb8493caea0e88a
2024-08-09 10:39:03 +00:00