Commit Graph

78507 Commits

Author SHA1 Message Date
Colin Cross 5a7cfbdaf2 Fix more kotlin nullable errors in Launcher3
Fix kotlin nullable errors that were exposed by setting the retention
of android.annotation.NonNull and android.annotation.Nullable to
class retention.

Bug: 294110802
Test: builds
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4aef83aa32df00c3d3e7c4cc239a08299c3b7d7d)
Merged-In: I158db4f57d46606d7152a438d68e2b9f4c0014d9
Change-Id: I158db4f57d46606d7152a438d68e2b9f4c0014d9
2023-09-07 17:45:10 +00:00
Brian Isganitis c9420c3561 Merge "Close IME on Taskbar drag." into main 2023-09-07 17:41:51 +00:00
Sebastián Franco cedec50beb Merge "Adding logs to test uninstallWorkspaceIcon to find flake reason" into main 2023-09-07 17:21:08 +00:00
Schneider Victor-tulias f573abadb7 Merge "Add error handling to prevent IllegalArgumentException" into main 2023-09-07 16:03:17 +00:00
Thales Lima ec8265f437 Merge "Use transient taskbar check in split screen" into udc-qpr-dev am: a0e0069cbd am: 1a96167f44
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24604848

Change-Id: I267243abb7a270eca7acb6c574ab97e9832faf07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 11:40:26 +00:00
Bill Yi 1e1ab4e7e4 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib5508c6ec154dcad7e0247518986b59cc019af1a
2023-09-07 04:03:48 -07:00
Bill Yi a3c51faffb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9895f1e56b44dd904263828be5005b071f530774
2023-09-07 04:03:25 -07:00
Bill Yi be5be22279 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7cec13a8320c4be2fbef45943c2032cceed0bf82
2023-09-07 04:03:00 -07:00
Bill Yi fce9627f8b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I98ba3bc9e380b26b739f8ff7f8ba8f33df4a92fc
2023-09-07 04:01:55 -07:00
Bill Yi d79e4e4a64 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8586e3e4ae3af316d530f0d56bda6baab12b6c53
2023-09-07 04:01:32 -07:00
Bill Yi f37892fb64 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I54b15d7cf57a0443735c55f93837e6bccd2cbd52
2023-09-07 04:01:08 -07:00
Thales Lima 1a96167f44 Merge "Use transient taskbar check in split screen" into udc-qpr-dev am: a0e0069cbd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24604848

Change-Id: I0b4c413ab99d995d69dc5ccad7130a19d56c97f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 10:50:30 +00:00
Thales Lima a0e0069cbd Merge "Use transient taskbar check in split screen" into udc-qpr-dev 2023-09-07 10:24:31 +00:00
Bill Yi 078333cede Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I004542644a2b2c5cb934d115f0fb64368513b541
2023-09-07 00:28:15 -07:00
Bill Yi fa35b203bb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I34e5c0bb9776353c0e56880dfd457b0c6d59035c
2023-09-07 00:27:31 -07:00
Vinit Nayak 6fe9c3e555 Merge "Revert "Revert "Hold WeakReference to split callback""" into main 2023-09-07 04:55:33 +00:00
Mateusz Cicheński 0b6b3e9e67 Merge "Add Assistant Home button support in Launcher TAPL" into main 2023-09-07 04:34:04 +00:00
Mateusz Cicheński 35accb87d9 Add Assistant Home button support in Launcher TAPL
When using apps that switch to car mode (e.g. Maps) while in 3 button
navigation mode, the default navbar is not visible and instead the
overlay from Assistant is being rendered that also has the Home button.

For tests that involve apps switching to car mode, when we want to go
home we want to be able to press that button.

Bug: 282758103
Test: n/a

Change-Id: I88c420f321dcfd39164e20e97d39f90bf1e5d8d8
2023-09-07 01:09:08 +00:00
Vadim Tryshev 10a619983d Merge "Removing verifying motion events in TAPL" into udc-qpr-dev am: 2cd2e2dade am: 1ded88e965
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608412

Change-Id: Ia91fdf85a1407e809d811a49159b71a6ddc40938
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-07 00:28:02 +00:00
Sunny Goyal dd23cab252 Merge "Using generated monochrome icon when actual icon is not available in the full drawable" into main 2023-09-07 00:17:21 +00:00
Vadim Tryshev 1ded88e965 Merge "Removing verifying motion events in TAPL" into udc-qpr-dev am: 2cd2e2dade
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24608412

Change-Id: I8c8d85d47253d2923c04bae29509d2a489bc863d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 23:39:05 +00:00
Sebastián Franco 8a21ec65e4 Merge "Moving TaplTestsLauncher3 to it's own class" into main 2023-09-06 23:27:33 +00:00
Sebastian Franco bfc74bdb02 Adding logs to test uninstallWorkspaceIcon to find flake reason
Also, removing old logs.

Bug: 288944469
Test: atest uninstallWorkspaceIcon
Change-Id: Ifad3c5e6486346a363dba98180839f4e08ed2078
2023-09-06 23:21:07 +00:00
Android Build Coastguard Worker 25ea5b59e8 Snap for 10770143 from 233ca49f80 to udc-qpr1-release
Change-Id: I59d2cf08b5961280d97b3fc010263271c43fecb6
2023-09-06 23:19:53 +00:00
Jagrut Desai 279e2cbd08 Merge "Clear TaskbarDividerPopupView callback upon closing" into main 2023-09-06 23:18:13 +00:00
Brian Isganitis f89d65d9cc Merge changes from topic "taskbar-toast-tapl-nav-main" into main
* changes:
  Update AllApps search TAPL APIs support for system back and dismiss.
  Rename AllAppsFromTaskbar to TaskbarAllApps.
2023-09-06 22:59:35 +00:00
Vadim Tryshev 2cd2e2dade Merge "Removing verifying motion events in TAPL" into udc-qpr-dev 2023-09-06 22:53:58 +00:00
Brian Isganitis 1219d69625 Close IME on Taskbar drag.
Matches LauncherDragController#startDrag impl.

Test: Manual
Fix: 299167809
Flag: No
Change-Id: If6552b0c9cf7bfcdd01f1802eaf895bde4f357d8
2023-09-06 22:06:54 +00:00
Sunny Goyal bb903c9cb0 Using generated monochrome icon when actual icon is not available in the full drawable
Also simplifying the bitmap fetching path to return all relevant data in one-call

Bug: 299336510
Test: Verified that the icons are themed during drag and app launch
Flag: ENABLE_FORCED_MONO_ICON
Change-Id: Ib4c457e911e7b5616e8370d111cc68c5d6401fe6
2023-09-06 13:50:53 -07:00
Sebastian Franco 1a02891d66 Moving TaplTestsLauncher3 to it's own class
Bug: 298234173
Test: atest TAPLOpenCloseAllApps
Change-Id: If827c5962e258ec5fe930b0d71e183e0191f2b11
2023-09-06 13:29:02 -07:00
Vinit Nayak 66b7b20800 Merge "Check events for launching split from Launchable" into main 2023-09-06 20:26:52 +00:00
Vadim Tryshev 4d3179706a Removing verifying motion events in TAPL
This allows us to simplify GestureScope.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I0ca0add5ef41ddd74a8fe3b4ebca10e0f866bf55
2023-09-06 13:08:31 -07:00
Vadim Tryshev e4f83a1bf0 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev am: 233ca49f80 am: 56372f0939
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24641480

Change-Id: If6589685d46fc1f56085f1e9424c721b0dbdccb3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 19:00:18 +00:00
Vadim Tryshev 56372f0939 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev am: 233ca49f80
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24641480

Change-Id: I7780723fa1aa01798ebfcb3465942ef6968907a4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-06 18:11:15 +00:00
Jagrut Desai cd667ed4ad Clear TaskbarDividerPopupView callback upon closing
- Breakout CL part 4
- This is a breakout cl from ag/24272821 to make it more readable and atomic.
- This cl consist of clearing callbacks after calling close once, so that we don't run into scenario where user is able to close popup multiple times leading to crash.

Test: Manual, Visual
Bug: 265170176
Flag: ENABLE_TASKBAR_PINNING
Change-Id: Ie4cd95c69a559a17b7c19a64a71ccf6ac20542d7
2023-09-06 17:53:34 +00:00
Vadim Tryshev 233ca49f80 Merge "Skiping view capture collection in Launcher3 tests to avoid hidden API check exception." into udc-qpr-dev 2023-09-06 17:38:50 +00:00
Schneider Victor-tulias df3043aa46 Merge "Revert "Add screen recording to flaky test"" into main 2023-09-06 15:09:35 +00:00
Ivan Tkachenko 72597e32cb Bubble bar user education
Launcher support for the user education logic described in ag/24587530.

Bug: 275077944
Test: TBD
Flag: WM_BUBBLE_BAR
Change-Id: I2b9a6ecde332de6305ad574c41d8322d8bb5d7ad
2023-09-06 14:19:31 +00:00
Thales Lima a40adc925f Merge changes from topic "cherrypicker-L55500000962914710:N74000001402311199" into main
* changes:
  Create new hotseat spec tests
  Add new attribute to hotseat specs
2023-09-06 13:24:02 +00:00
Treehugger Robot 50939148db [automerger skipped] Merge "Fix more kotlin nullable errors in Launcher3" into udc-dev-plus-aosp am: 1a0b25c326 am: 5df718b3d5 -s ours am: 90012ccd69 -s ours
am skip reason: Merged-In I88aec6fbc814be98f9ef048bbc5af889d0797970 with SHA-1 94fd07e5da is already in history

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

Change-Id: I12cf4702571d5f94bbbe61eda093f554ba4fd8f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 23:27:55 +00:00
Android Build Coastguard Worker 1b454e2fee Snap for 10763631 from 31679166a7 to udc-qpr1-release
Change-Id: Ib4fe01f27ba9499830c25460d7c917c2ab50d703
2023-09-05 23:19:10 +00:00
fbaron c29072540c Add flag for smartspace as a widget implementation
Bug: 200721106
Flag: no flag
Test: no test
Change-Id: I6140c3471599f627106c8d039409c3d295d2b699
2023-09-05 15:54:39 -07:00
Treehugger Robot 90012ccd69 [automerger skipped] Merge "Fix more kotlin nullable errors in Launcher3" into udc-dev-plus-aosp am: 1a0b25c326 am: 5df718b3d5 -s ours
am skip reason: Merged-In I88aec6fbc814be98f9ef048bbc5af889d0797970 with SHA-1 94fd07e5da is already in history

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

Change-Id: I586b230e2efec05945f96b56d21d10ff4d8619e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 22:33:33 +00:00
Treehugger Robot 5df718b3d5 Merge "Fix more kotlin nullable errors in Launcher3" into udc-dev-plus-aosp am: 1a0b25c326
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24593180

Change-Id: I11a4409c09ae3b2a03fdfde2de906123fd39f8b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 21:59:43 +00:00
Vinit Nayak f2da6d8fbc Check events for launching split from Launchable
* Previously we weren't waiting for any events check,
which was terminating the test too early before any
split cleanup was happening, causing errors in the
following test.

Test: atest NexusLauncherOutOfProcTests:com.android.quickstep.TaplTestsSplitscreen
Bug: 297135374
Change-Id: I635a1de1381932e6545fc0fc7bf7567c9f6ebe67
2023-09-05 21:44:03 +00:00
Treehugger Robot 1a0b25c326 Merge "Fix more kotlin nullable errors in Launcher3" into udc-dev-plus-aosp 2023-09-05 21:42:41 +00:00
Xin Li d3ed4882e4 [automerger skipped] Merge UP1A.230905.019 am: 841dfad3d6 -s ours am: 520168d7e8 -s ours am: 5397198074 -s ours am: 39c7adfa49 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I96f4506d3b0799a20483a60910d760e7f3d41397
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 21:26:46 +00:00
Xin Li 39c7adfa49 [automerger skipped] Merge UP1A.230905.019 am: 841dfad3d6 -s ours am: 520168d7e8 -s ours am: 5397198074 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I8c0a828d738b5892b1e738a6692ab6473db95a0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 21:07:23 +00:00
Xin Li 5397198074 [automerger skipped] Merge UP1A.230905.019 am: 841dfad3d6 -s ours am: 520168d7e8 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: Id5d3a972a3434f20253ea958e8290e3fd1a40154
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 20:34:31 +00:00
Xin Li 520168d7e8 [automerger skipped] Merge UP1A.230905.019 am: 841dfad3d6 -s ours
am skip reason: Merged-In Ic437ff4d19cbd5764635f3007d99880622150f5b with SHA-1 2e53f5ef97 is already in history

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

Change-Id: I05790ee14e1b36cfa82eb290abed0bfe3409aa73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 19:45:13 +00:00