Commit Graph

77612 Commits

Author SHA1 Message Date
Liran Binyamin 63ef8cf1e7 Deflake BubbleViewScreenshotTest
Hiding the dot runs an animation which is flaky.
Instead the bubble is created with the suppress notification flag.

Flake: https://android-build.corp.google.com/abtd/run/L87700030005824088

ABTD 50x: https://android-build.corp.google.com/abtd/run/L03700030005851578

Flag: EXEMPT test only
Bug: 355454021
Test: atest BubbleViewScreenshotTest
Change-Id: I635eafb44a3e0ffb9b38fd83c8cc7b36822cce75
2024-08-18 08:39:30 -04:00
Tracy Zhou 9944b989d6 Merge "Use isGestureNav signal from TaskbarActivityContext for getTaskbarPhoneDimensions" into main 2024-08-15 04:56:41 +00:00
Treehugger Robot 9df623644a Merge "Register the bubble listener after everything has been initialized" into main 2024-08-15 01:51:24 +00:00
Tracy Zhou a51ee6a4dc Use isGestureNav signal from TaskbarActivityContext for getTaskbarPhoneDimensions
Somehow deviceProfile.isGestureMode doesn't have the right signal for tests.

We need to look into why dp doesn't have the right signal for isGestureMode in tests. Temporary fix here to unblock pushing the flag to staging

Bug: 359196354
Test: https://android-build.corp.google.com/builds/abtd/run/L05600030005823769
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: Ie6451812cf4b0c3f034cabdfd4cec726322af0bc
2024-08-15 01:49:40 +00:00
Brandon Dayauon 36b02ec389 Merge "Set maxLines for private space header to 1." into main 2024-08-15 01:16:06 +00:00
Mady Mellor 173ac574d8 Register the bubble listener after everything has been initialized
Flag: com.android.wm.shell.enable_bubble_bar
Test: manual - have bubbles in bubble bar, switch between transient
               taskbar and pinned taskbar repeatedly.
Bug: 359096619
Change-Id: I02beacff64b12380ee6d134b7dcc64cfd27e4b0b
2024-08-14 15:22:21 -07:00
Brandon Dayauon 4f7d4c2975 Set maxLines for private space header to 1.
This is an issue for large font/display that in the arabic language will clip the Private text.

bug: 357942579
Test manually: https://drive.google.com/file/d/1FFZpXmfwKlRG7mvmSCtc1dtjwUjuXjfW/view?usp=sharing
Flag: NONE bugix

Change-Id: I22943237e10b502edb6aae6845fbe6027fda1323
2024-08-14 13:47:37 -07:00
Saumya Prakash ce8353fdcc Merge "Disable split screen option in app menu in Desktop Mode" into main 2024-08-14 19:16:09 +00:00
Liana Kazanova (xWF) 4b4a045474 Merge "Revert "Synchronize bar expansion with WM Shell"" into main 2024-08-14 19:08:26 +00:00
Liana Kazanova (xWF) 799802cb7e Revert "Synchronize bar expansion with WM Shell"
Revert submission 28703070-bubbles-defer-expand

Reason for revert: DroidMonitor. Potential culprit for b/359765550 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted changes: /q/submissionid:28703070-bubbles-defer-expand

Change-Id: I5651cc8f740b1f0718abcfa8065e18c174657224
2024-08-14 16:58:12 +00:00
Liran Binyamin f544f7f164 Merge "Synchronize bar expansion with WM Shell" into main 2024-08-14 06:37:38 +00:00
Saumya Prakash eb950c1f44 Disable split screen option in app menu in Desktop Mode
The split screen app shortcut is not intended to work in Desktop Mode.
This change removes it from Taskbar and all apps in this mode to avoid
a crash.

Fix: 346333758
Test: Launch the app menu for different apps in Desktop mode and in
normal mode. Check that the split option only shows up in normal mode.
Flag: EXEMPT bugfix

Change-Id: I6e2535b41a490ad3eb5c0ebd924c49eaf5028669
2024-08-13 22:22:19 +00:00
Treehugger Robot 28cbc13413 Merge "Ensure that inactive archived icons in the folder preview are not shown as grey pending icons" into main 2024-08-13 22:19:44 +00:00
Treehugger Robot 1a7bd33654 Merge "Add screen recording to TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet" into main 2024-08-13 21:42:22 +00:00
Treehugger Robot 4a65dc603c [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: de7caa6162 -s ours
am skip reason: contains skip directive

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

Change-Id: I34c6bbeb7ff14e0504a971b47fca8d6533dad7b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-13 19:10:20 +00:00
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