Commit Graph

78507 Commits

Author SHA1 Message Date
Bill Yi ffaadb32c8 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-26 21:05:28 +00:00
Bill Yi f872c59428 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-26 21:05:28 +00:00
Bill Yi 853e5adac3 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2024-06-26 21:05:28 +00:00
Willie Koomson ab3f44bc19 Clean up code related to the old widget preview toast
This code is no longer used now that widget cells show an add button.

Bug: 335367158
Test: N/A
Flag: com.android.launcher3.enable_widget_tap_to_add
Change-Id: I8040c75a89394f34885c24308f4e889b7263cc54
2024-06-26 20:06:34 +00:00
Treehugger Robot a6ec45c928 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: dcec00cc4d -s ours
am skip reason: contains skip directive

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

Change-Id: I7231b9050241d656c52eb70c66814f4d29f732e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 19:49:27 +00:00
Bill Yi 5f2492b8c3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 66bc0c0275 -s ours
am skip reason: contains skip directive

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

Change-Id: Icc8461528af7cbe790ceeb8d2a222fac151dc534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 19:49:24 +00:00
Treehugger Robot 0bf9a48115 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev am: 2920b04df3 -s ours
am skip reason: contains skip directive

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

Change-Id: Ibdfa067a6d6a37b8eb956e8c0ad3832391cbb156
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 19:49:21 +00:00
Bill Yi 70baef0c86 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: e89fa0c181 -s ours
am skip reason: contains skip directive

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

Change-Id: If908ec8ed3d105109528c2beab8aa9b7ebe4da19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 19:49:18 +00:00
Bill Yi 2af7bc3aa4 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: fb9cb01e12 -s ours
am skip reason: contains skip directive

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

Change-Id: Id22c2a3cf5ba6fc6b9e48d32bc19cc6c0dfec6a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 19:49:10 +00:00
Treehugger Robot dcec00cc4d Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-26 19:22:32 +00:00
Treehugger Robot 2920b04df3 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-26 19:22:32 +00:00
Willie Koomson caf7065ef4 Cleanup obsolete generated preview tests
Remove tests that no longer run because the flag is always enabled.

Bug: 343764554
Bug: 336821272
Test: N/A
Flag: android.appwidget.flags.generated_previews
Change-Id: I106579771c2301cdac2ff1a17008c9faa1a1b0e3
2024-06-26 19:12:43 +00:00
Treehugger Robot 1ec2aacc05 [automerger skipped] Merge "Add strict_mode: false" into main am: a627a31a36 -s ours am: 74fb0eec2e -s ours
am skip reason: Merged-In I4b4f2ef9a21926eef63fcada81355b928bbe2870 with SHA-1 a75ea0b8cb is already in history

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

Change-Id: I7e7b972404dc8edaa70fe09925fe424cfd2172c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 18:29:36 +00:00
Kevin Liu 38064fe0e8 [automerger skipped] Add strict_mode: false am: 97cbdbcfd3 -s ours am: 2a84571a09 -s ours
am skip reason: Merged-In I4b4f2ef9a21926eef63fcada81355b928bbe2870 with SHA-1 a75ea0b8cb is already in history

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

Change-Id: Ic0965e666f9cf0b864a3046d8137d88e9093210e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 18:29:33 +00:00
Treehugger Robot 74fb0eec2e [automerger skipped] Merge "Add strict_mode: false" into main am: a627a31a36 -s ours
am skip reason: Merged-In I4b4f2ef9a21926eef63fcada81355b928bbe2870 with SHA-1 a75ea0b8cb is already in history

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

Change-Id: If77bea87fe7b766b02bc10ac134ca23c30ab34e7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 18:11:52 +00:00
Kevin Liu 2a84571a09 [automerger skipped] Add strict_mode: false am: 97cbdbcfd3 -s ours
am skip reason: Merged-In I4b4f2ef9a21926eef63fcada81355b928bbe2870 with SHA-1 a75ea0b8cb is already in history

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

Change-Id: Ia3d4a05ec39b1dbb172dd9f2e496bb9b56a5f024
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-26 18:11:48 +00:00
Treehugger Robot 2f90296717 Merge "Use snapshotView references in TaskContainer when possible" into main 2024-06-26 18:01:54 +00:00
Treehugger Robot a627a31a36 Merge "Add strict_mode: false" into main 2024-06-26 17:55:06 +00:00
Alex Chau c06bc41ee0 Use snapshotView references in TaskContainer when possible
- Moved majority of TaskContainer.thumbnailViewDeprecated usage to TaskContainer.snapshotView, so they'll cover the new TaskThumbnailView as well
- There are afew location left that will be handled as a follow-up
- Removed TaskThumbnailView's splitTranslation and use translation directly as it's the only translation we use

Bug: 336612373
Test: Ensure all Task CUJs still work without refacorting
Test: Ensure major Task CUJs work with refactoring
Flag: EXEMPT refactor
Flag: com.android.launcher3.enable_refactor_task_thumbnail
Change-Id: Ieb52236bc503ce0d0a511249978c1821a82d406e
2024-06-26 16:07:57 +01:00
Shamali Patwa b8f4e16fa7 Merge changes from topic "standalone-fix" into main
* changes:
  [part 2] Update standalone picker to align widget loading and animations
  [part-1] Perform doMeasure only once in WidgetsFullSheet
2024-06-26 14:39:49 +00:00
Alex Chau fca5237773 Merge "Remove unused PreviewPositionHelper.setSplitBounds" into main 2024-06-26 14:07:19 +00:00
Treehugger Robot ab26fef0f2 Merge "Ignore minimized Desktop apps in Overview." into main 2024-06-26 10:52:29 +00:00
Luca Zuccarini 772c1efb7f Merge "Add return animations to Toast search results." into main 2024-06-26 10:50:49 +00:00
Gustav Sennton d06e8dc8a3 Ignore minimized Desktop apps in Overview.
For each desktop session, Overview shows a single tile with multiple
desktop tasks. With this CL avoid showing minimized tasks in that tile.

Bug: 333013317
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: manual: ensured minimized desktop tasks are not shown in Overview

Change-Id: I48cb6826849abf225c0fe4448ca7b0b13afea44e
2024-06-26 08:53:15 +00:00
Bill Yi e89fa0c181 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie5ac956793f79eddf06c2ba521d7c3c0ccec183e
2024-06-25 22:59:49 -07:00
Bill Yi c95f2db5d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9bbaf3a0e474235fb1d561c668b16730660bb474
2024-06-25 22:59:24 -07:00
Bill Yi 66bc0c0275 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibe27bae1bf90208a3dd81d0d051be5313718a0dc
2024-06-25 22:58:58 -07:00
Bill Yi 219f19b0a8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I568b7d002f6560c498630b99166eebac1d90196f
2024-06-25 22:58:37 -07:00
Bill Yi fb9cb01e12 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia0b570ddba1df28cf42ffe7e4615a4847dd47d45
2024-06-25 22:58:14 -07:00
Bill Yi 159e4ccf1e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icb2025d6c3f373460127e03cb6d3c117a605b55c
2024-06-25 22:57:47 -07:00
Tracy Zhou 027600a259 Pipe nav bar transitions logic into task bar
Bug: 349155860
Test: manual
Flag: com.android.wm.shell.enable_taskbar_on_phones
Change-Id: Idaf7ecc7b964a2c406ddf4329b64971b08f5d7de
2024-06-25 22:01:34 -07:00
Treehugger Robot 06020c29f0 Merge "Focus on the right pane when choosing an app on left" into main 2024-06-26 00:45:13 +00:00
Brian Isganitis 1812030be0 Merge "Take in test instance as field." into main 2024-06-25 23:02:32 +00:00
Brian Isganitis a07a7c2f91 Take in test instance as field.
This refactor makes it simpler for the rule to keep track of the test
instance (immutable). Having the rule be a TestRule instead of a
MethodRule also simplifies nesting TestRules within this implementation
(future CLs).

Test: Taskbar{AllApps,Overlay}ControllerTest
Flag: EXEMPT refactor
Bug: 230027385
Change-Id: Icf587202242fcb4526946d9c7619e5be4f59154e
2024-06-25 17:16:35 -04:00
Mady Mellor 4d1c6e55d5 Merge "Only return that bubbles are on home if we actually have bubbles" into main 2024-06-25 18:47:25 +00:00
Brandon Dayauon cc6d5007b7 Merge "Fix NPE when locking private space in taskbar allapps." into main 2024-06-25 17:55:16 +00:00
Kevin Lim 1a2b9bced3 [UniversalSearchInput] Create flag for multi-line search bar
Bug: b/341795751
Flag: com.android.launcher3.multiline_search_bar
Test: EXEMPT Flag creation
Change-Id: If816cf88ebe688aefe2bfa2c3db63e747d99eb88
2024-06-25 17:44:05 +00:00
Olivier St-Onge 27c0258caf Stash taskbar when a SysUI dialog appears.
SYSUI_STATE_DIALOG_SHOWING is used by all implementations of SystemUIDialog, which includes QS dialogs and the power menu.
This change is a no-op for QS dialogs as the taskbar is already stashed when the notification panel is expanded.

Fix: 341613141
Test: manually with power menu dialog
Flag: EXEMPT bugfix
Change-Id: I528b30ee45f93a5df2b9d6f4d3b3c32e89935417
2024-06-25 13:25:38 -04:00
Alex Chau b76356a202 Remove unused PreviewPositionHelper.setSplitBounds
Bug: 336612373
Test: manual
Flag: EXEMPT refactor
Change-Id: I916341973c4279e548af59452842bc0a677ef6b0
2024-06-25 17:31:51 +01:00
Brandon Dayauon e770f10d2a Fix NPE when locking private space in taskbar allapps.
We can just remove the check since isSearchSupported has been launched.

bug: 345648701
Test manually video -
before: https://drive.google.com/file/d/1EwwRXrASusmqVixGWuKGnOQQyiDLE6Yy/view?usp=sharing
after: https://drive.google.com/file/d/1OCvtxzbhRJrBMMM2JH_cOurQ-_BaALSA/view?usp=sharing
Flag: com.android.launcher3.enable_private_space

Change-Id: I0ae19d342556aac4ee0b6e26b4cef8752c0beb38
2024-06-25 16:00:09 +00:00
Schneider Victor-tulias 21d4a9cdbc Merge "Finish the recents animation when an unhandled task appears" into main 2024-06-25 14:02:46 +00:00
Jordan Silva 33e35cabee [automerger skipped] Fix digital wellbeing banner position in portrait mode am: 497729f781 -s ours
am skip reason: Merged-In I0544b4a8eb85b00196373c8a4368e680abab222b with SHA-1 3d088e3899 is already in history

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

Change-Id: I4e104d0732b4c001d417432a9483e4a340580ed4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-25 01:22:47 +00:00
Android Build Coastguard Worker 40c4382060 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27902855', 'googleplex-android-review.googlesource.com/27951519', 'googleplex-android-review.googlesource.com/27976521'] into 24Q3-release.
Change-Id: I700dccc620c1f24e25094d8bd240156d4459e877
2024-06-25 00:44:28 +00:00
Alex Chau 396c95964a Disable Select mode from Menu in fake landscape
Fix: 349072279
Test: Verify that Select mode is only available from Menu in grid only Overview on tablets
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2026c800165865b3323f449a2d9cda22e9231598)
Merged-In: Icd0d8303547b45d3653696812c51ce2c2bfd410b
Change-Id: Icd0d8303547b45d3653696812c51ce2c2bfd410b
2024-06-25 00:27:42 +00:00
Alex Chau 35f30f2e11 Close floating views before fake rotation
- We do the same in Launcher for real rotation

Fix: 348113790
Test: manual
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:bde639236f8e73608e3fd14fecdbbe5267f4607e)
Merged-In: Ibd5f42db439cd94a389f7aaf6fe2db317c11cd67
Change-Id: Ibd5f42db439cd94a389f7aaf6fe2db317c11cd67
2024-06-25 00:27:27 +00:00
Charlie Anderson 35439c0821 Only send new first screen broadcast on first load after restore
Flag: EXEMPT launcher_broadcast_installed_apps
Bug: 322314760
Test: manually tested
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:30a3acc7796850caa6be51b6c46d26d35dfb0b3c)
Merged-In: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
Change-Id: I28a3ee1fb2c5c382ea8789b6e966c80db1abf0e0
2024-06-25 00:27:11 +00:00
Tracy Zhou 30e0597a36 Merge "Do not tint task/nav bar icons in folded state when task bar on phones is enabled" into main 2024-06-24 23:14:29 +00:00
Mady Mellor 6d09b0cd1e Only return that bubbles are on home if we actually have bubbles
This causes an issue in the touch inset calculations resulting in
taskbar items being not touchable causing some tests to fail (thank
you tests for catching this!)

Flag: com.android.wm.shell.enable_bubble_bar
Test: atest NexusLauncherTests:com.android.quickstep.TaplTestsTaskbar
Bug: 349174989
Change-Id: I8cad22be92f219e0e9d3ec0f551764681f281844
2024-06-24 15:35:55 -07:00
Fengjiang Li 94de34ce2f Merge "[Launcher Jank] Avoid SimpleBroadcastReceiver making binder calls on main thread" into main 2024-06-24 21:00:41 +00:00
Hongwei Wang 4f35222eb6 Merge "Offset display cutous on foldables" into main 2024-06-24 20:29:39 +00:00