Commit Graph

71530 Commits

Author SHA1 Message Date
Vadim Tryshev 0d50b19f4b Merge "Verifying that workspace looks correct at the end of the test." into main 2023-09-14 23:44:24 +00:00
Bill Yi 1b788c306a [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff384a5c07 -s ours am: 2e0e7c9599 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I784c205376cd5a7863203a468151808af6c6ffec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 23:32:00 +00:00
Bill Yi 2e0e7c9599 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ff384a5c07 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I5c0dee4b5117b0bd0b8b610525c2ed2811de4032
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 23:22:08 +00:00
Brian Isganitis 1bffca2eec Merge "Revert "Have backup TouchController of Taskbar All Apps AFV."" into main 2023-09-14 22:52:11 +00:00
Brian Isganitis a7e47717f8 Revert "Have backup TouchController of Taskbar All Apps AFV."
This reverts commit 91a4aca5a5.

Reason for revert: b/300482980

Change-Id: If910bad31816851283de834b11db5151f237dadd
Fix: 300482980
Bug: 299165179
Test: Presubmit
2023-09-14 22:48:18 +00:00
Sebastián Franco c468af4139 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev am: 216a765894 am: 07ce8fa893
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24681787

Change-Id: I74496b2ce863dadce1fbe3889de242c133a75121
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 19:02:27 +00:00
Andy Wickham be81b736fa Merge "Don't animate layout changes for WorkModeSwitch." into udc-qpr-dev am: 3140efe569 am: ca71d4b857
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751396

Change-Id: I58f3850bd6671e5bf54002276bab929ac3499ce4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 18:59:15 +00:00
Sebastián Franco 07ce8fa893 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev am: 216a765894
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24681787

Change-Id: I91986355b221bbd623100dcf79d180ed9cc9a0c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 18:08:54 +00:00
Andy Wickham ca71d4b857 Merge "Don't animate layout changes for WorkModeSwitch." into udc-qpr-dev am: 3140efe569
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24751396

Change-Id: I98449ff59af5111dfc0f3a5586864de36a454bf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 18:05:49 +00:00
Sebastián Franco 216a765894 Merge "Disable FOLDABLE_SINGLE_PAGE" into udc-qpr-dev 2023-09-14 17:50:54 +00:00
Andy Wickham 3140efe569 Merge "Don't animate layout changes for WorkModeSwitch." into udc-qpr-dev 2023-09-14 17:31:17 +00:00
Vadim Tryshev 62e3b162ba Verifying that workspace looks correct at the end of the test.
I hope that this will lock bugs like b/298114205 in the test that created the bad condition, not the next one.

Bug: 298114205
Test: presubmit
Flag: N/A
Change-Id: I6ad3598fb675d8b24ec0f273d255b7f2464dc53f
2023-09-14 10:11:25 -07:00
Federico Baron 099f7f936e Merge "Ensure PauseUIUpdate always ends up getting set to false" into udc-qpr-dev am: 15b81093d7 am: f3a2082285
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24749997

Change-Id: I8183be8017e43d588b5baed2b80bed70aca7a728
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 16:53:40 +00:00
Becky Qiu 543dbad157 Merge "Print out debug logging in bug report if not running test." into udc-qpr-dev am: d1d73e05ce am: 09b354b232
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24737823

Change-Id: Icd77d37a3e009bb54044fcd501bc7ea5fc659e0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 16:52:54 +00:00
Tracy Zhou bcbb5745b8 Merge "Fix wrong insets in phone mode with FLAG_HIDE_NAVBAR_WINDOW on" into main 2023-09-14 16:51:26 +00:00
Federico Baron f3a2082285 Merge "Ensure PauseUIUpdate always ends up getting set to false" into udc-qpr-dev am: 15b81093d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24749997

Change-Id: I06df48dda4c77024b9b35127a8eeda9b42080607
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 16:51:15 +00:00
Federico Baron 15b81093d7 Merge "Ensure PauseUIUpdate always ends up getting set to false" into udc-qpr-dev 2023-09-14 16:26:34 +00:00
Jagrut Desai a144105c12 Merge "Fix TaplTestsNexus#testSearchForApp" into main 2023-09-14 16:08:35 +00:00
Becky Qiu 09b354b232 Merge "Print out debug logging in bug report if not running test." into udc-qpr-dev am: d1d73e05ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24737823

Change-Id: I628cb28daa134c58b10a8db6f84f4004ed1ddbf4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 16:00:42 +00:00
Brian Isganitis 42d12badd8 Merge "Support tapping outside container from above IME if visible." into main 2023-09-14 15:25:05 +00:00
Becky Qiu d1d73e05ce Merge "Print out debug logging in bug report if not running test." into udc-qpr-dev 2023-09-14 15:07:43 +00:00
Alex Chau baf6e6ddbe Merge "Update enable_grid_only_overview to use correct release bug" into main 2023-09-14 12:57:57 +00:00
Alex Chau 0f7c0f4a53 Merge "Revert "Add debug log in InvariantDeviceProfile.minCellSize"" into main 2023-09-14 11:35:41 +00:00
Alex Chau c40e64e0cb Update enable_grid_only_overview to use correct release bug
Bug: 270397206
Test: presubmit
Change-Id: I513d77c61ee87485ecf0061d3b3a3c3a74c45982
2023-09-14 12:27:37 +01:00
Wei Sheng Shih 64116af237 Merge "Transfer the animation bounds to another coordinate if needed." into main 2023-09-14 10:02:28 +00:00
Alex Chau 7ecd70cb0d Revert "Add debug log in InvariantDeviceProfile.minCellSize"
Revert submission 24736047-b/298077774_logs

Reason for revert: b/298077774

Reverted changes: /q/submissionid:24736047-b/298077774_logs

Change-Id: I2771484f3537380644c1e8b2d18485b360df5715
2023-09-14 09:59:37 +00:00
Bill Yi 7ef2d061cd [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 902c080b06 -s ours am: 4241ea0192 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I39f6cf1bf24a0838a2983e54e3a988fd72b98576
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 03:19:19 +00:00
wilsonshih 3228322d49 Transfer the animation bounds to another coordinate if needed.
For a remote close animation target, because the orientation can be
different from launcher, so when launcher applying surface animation
to it, there should do another coordinate transfer based on it's
coordinate.
Also for closing animation, there shouldn't use #getWindowTargetBounds
because it only search for opening target.
There is no change when launcher's orientation matches animation target.

Bug: 254805643
Bug: 298318284
Test: close activity in each oritation, verify the position of remote
animaiton target is aligned with the floating view.

Change-Id: I7799357695a467f1bfc653e4f058a5e646ea2405
2023-09-14 02:41:21 +00:00
Bill Yi 4241ea0192 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 902c080b06 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I85dc9af7fc9c7561bc00da5354f0a1a6f1fb089f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-14 02:35:19 +00:00
Bill Yi 6a5638de90 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-09-14 02:08:56 +00:00
Bill Yi b87805f3c7 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2023-09-14 02:08:56 +00:00
Andy Wickham 1eb694a8cf Don't animate layout changes for WorkModeSwitch.
E.g. translation when rotating or unfolding the device.

The button is laid out as needed, so this was most visible when
entering all apps after folding/unfolding the device, but could
also be seen when rotating the device while in all apps.

Fix: 298073915
Test: Manual (folding/rotating device)
Flag: N/A
Change-Id: I573d7113a7870af0a251b3ca3916e3811f370ef9
2023-09-13 17:30:33 -07:00
Becky Qiu 28498d5f6f Print out debug logging in bug report if not running test.
Bug: 300101221
Test: local
Flag: not needed, logging only.
Change-Id: If016d6fe35a1c43e1a1f311d696b9f2ca0f36f6a
2023-09-13 17:24:51 -07:00
fbaron a101ac696f Ensure PauseUIUpdate always ends up getting set to false
when result was null but getTaskbarUIController() is not null, we don't setPauseUIUpdate to false. This CL ensure we always end up setting pauseUIUpdate to false so that the hotseat suggested apps show up.

Fix: 295892343
Flag: no flag
Test: verify hotseat icons don't disappear
Change-Id: Id872f3174df276cb7a4ed7f6672523d0851a11dd
2023-09-13 16:56:02 -07:00
Vadim Tryshev ba00ce8259 Merge "Copy testAddAndDeletePageAndFling to Launcher tests. The next steps will be changing config files to point at this test, and removing it in integration tests." into main 2023-09-13 23:25:11 +00:00
Brian Isganitis 4e5202867b Merge "Have backup TouchController of Taskbar All Apps AFV." into main 2023-09-13 22:29:54 +00:00
Vadim Tryshev e989ddd992 Copy testAddAndDeletePageAndFling to Launcher tests.
The next steps will be changing config files to point at this test, and removing it in integration tests.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ib2a590b7d6aa99a89973a77ca43b1ab762c79fdb
2023-09-13 21:17:17 +00:00
Brian Isganitis 6066c44ed8 Support tapping outside container from above IME if visible.
This is useful for tests where the keyboard is open, which can take up
about half the screen.

Test: Tapl
Fix: 299514609
Flag: No
Change-Id: I47e2fe7555140b4b54046d4d8ba6de1ebd38c6a4
2023-09-13 21:00:52 +00:00
Alex Chau 2ddd019a4c Merge "Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig" into main 2023-09-13 20:57:51 +00:00
Mady Mellor d56ec1ad5e Merge "Use the scrim value from bubble constants in launcher" into main 2023-09-13 20:28:27 +00:00
Alex Chau c2e3aa1a38 Merge "Revert "Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids"" into main 2023-09-13 20:11:21 +00:00
Pat Manning f5a29eaf82 Merge "Add widget resize CUJ test." into main 2023-09-13 19:18:10 +00:00
Brian Isganitis 91a4aca5a5 Have backup TouchController of Taskbar All Apps AFV.
BaseDragLayer only lets the top AFV intercpet touch events, otherwise it
moves onto its TouchController instances. Taskbar AllApps still needs to
intercept touch events sometimes when an AFV above it cannot (e.g. a
snackbar). This CL adds a TouchController to TaskbarOverlayDragLayer
that delegates to TaskbarAllAppsSlideInView if it is open.

Test: Manual
Fix: 299165179
Flag: No
Change-Id: I9b73c55f698de5b60b463f91140a6717a7053cd3
2023-09-13 18:47:43 +00:00
Brian Isganitis 793a9d9905 Merge "Focus Taskbar search EditText and show IME on meta key toggle." into main 2023-09-13 18:13:50 +00:00
Jagrut Desai 311d519292 Fix TaplTestsNexus#testSearchForApp
This cl is 1/2 part change

We are currently getting StaleObjectException when running this test.
We want to implment a synchoronized event beetween test and launcher,
so we know that search result adapter is done updating and page will
get no more updates of search results.

Test: Presubmit
Bug: 232008758
Flag: not needed
Change-Id: I40cf9b83d231a2487220aabc8f8e8c3ca71f255c
2023-09-13 11:09:05 -07:00
Alex Chau e1955fe4b9 Migrate ENABLE_GRID_ONLY_OVERVIEW to aconfig
- Keeping FeatureFlags.ENABLE_GRID_ONLY_OVERVIEW for local testing until aconfig is available in FlagFlipper
- Still reference ENABLE_GRID_ONLY_OVERVIEW in tests as aconfig still can't be mocked

Bug: 270397206
Test: manual
Change-Id: I799e05311adc21184a6ad7ce92a3abdab3f25c25
2023-09-13 15:59:01 +01:00
Alex Chau 2d86f3337a Revert "Move AppWidgetsRestoredReceiver methods to enable adding tests for restoring widget Ids"
This reverts commit 5f263a7ae1.

Bug: 294386159
Reason for revert: b/298077774

Change-Id: Idcfb721e980d4242330e4bd9a2f9ad0f1cc5a1b5
2023-09-13 12:36:48 +00:00
Bill Yi 902c080b06 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1e5a9958e68122e5c138301126f915f27f1341b6
2023-09-13 04:51:49 -07:00
Bill Yi ff384a5c07 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic54f174ce4b55de9f6a00a679860aa38febdb010
2023-09-13 04:51:00 -07:00
Alex Chau 3554656c13 Merge "Add debug log in InvariantDeviceProfile.minCellSize" into main 2023-09-13 10:00:24 +00:00