Commit Graph

78507 Commits

Author SHA1 Message Date
Vadim Tryshev b57e25127e 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: If9b48fb5159fc35948607a99f87199d5a32e64d6
2023-09-29 18:31:04 -07:00
Pat Manning ff74bb5ded Mark existing Launcher CUJs as Platinum tests.
Exclusion CL: cl/565329636 & cl/569615823

Acceptance Criteria:
- TaplTestsQuickstep#testOverviewActionsMenu: https://android-build.corp.google.com/test_investigate/?invocationId=I68300010197543619&testResultId=TR13128935381586398&tab=performance
- OopTaplOpenCloseAllApps#testAllAppsSwipeUpToWorkspace: https://android-build.corp.google.com/test_investigate/?invocationId=I29900010197342608&testResultId=TR26328933842394642&tab=performance
- AddWidgetTest#testResizeWidget: https://android-build.corp.google.com/test_investigate/?invocationId=I56600010197561454&testResultId=TR14428935383013115&tab=performance
- TaplTestsLauncher3#testLaunchHomeScreenMenuItem: https://android-build.corp.google.com/test_investigate/?invocationId=I56600010197561454&testResultId=TR20028935383489058&tab=performance

Bug: 300249773
Test: TaplTestsLauncher3
Test: OopTaplOpenCloseAllApps
Test: AddWidgetTest
Test: TaplTestsQuickstep
Change-Id: Ica71dbad91efe8f5b4fd243f0ec78fc3c3c4d456
2023-09-29 23:27:27 +00:00
Vadim Tryshev b56c8b5c72 Not recycling input events sent by the tests.
The docs indicate that only the system should recycle events.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: I76d0ed8ffce6de45f76c846df659c5a68abe3ed0
2023-09-29 15:39:43 -07:00
Mateusz Cicheński 9cf11627de Merge "Add a method to go Home from immersive fullscreen app" into main 2023-09-29 22:30:10 +00:00
Sebastian Franco 7ab324a503 Moving testWidgets from TaplTestsLauncher3 to it's own test TaplWidgetPickerTest
Bug: 298234173
Test: atest TaplWidgetPickerTest
Change-Id: Ia19469d2021cb833b5c1d9d176425b9d6d352797
2023-09-29 20:55:36 +00:00
Sebastián Franco 770559cb6e Merge "Moving test related to the app icon menu to their own file" into main 2023-09-29 20:46:17 +00:00
Jagrut Desai 9c80d72947 Merge "Fixing testQuickSwitchToPreviousAppForTablet" into main 2023-09-29 19:38:48 +00:00
Brian Isganitis c3c0664ab1 Add AllApps TAPL APIs for toggling with meta key.
Test: TAPL
Bug: 300147433
Flag: No
Change-Id: Ie4d91ac77a325febb521806a008f8fcad5869f85
2023-09-29 15:26:42 -04:00
Schneider Victor-tulias 7335bcf7f5 Refactor the BorderAnimator for simplicity
The internal implementation of BorderAnimator does not need to be as exposed. refactored the class to be simpler to implement

Flag: ENABLE_KEYBOARD_QUICK_SWITCH, ENABLE_CURSOR_HOVER_STATES
Bug: 302334949
Test: check border animation in keyboard quick switch and recents view
Change-Id: I8a2e4fa0abc5af743352cd6409aee9f2912b41a2
2023-09-29 15:08:05 -04:00
Anvesh Renikindi bbbd3fdb74 [automerger skipped] Merge "Update renamed util function M3HCTToColor in launcher code" into aosp-main-future am: 8dda08c942 -s ours am: 14b7f988e2 -s ours am: 189eadc7e1 -s ours am: 2df9d98072 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: Ib589d685100b05b7c051605d6a67ce1876b3462c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:42:44 +00:00
fbaron 2c0572e277 [automerger skipped] Update renamed util function M3HCTToColor in launcher code am: 20d7edb05f -s ours am: c77dc6a312 -s ours am: b1b04374d6 -s ours am: 39a3351c0d -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: I33a143b92ec4c0e5fffff9784f7a2576686672df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:42:40 +00:00
Schneider Victor-tulias 0606b1f296 Merge "Add TAPL tests for the keyboard quick switch view" into main 2023-09-29 18:42:11 +00:00
Luca Zuccarini 850a282446 [Toast] Fix ANR when tapping on rich card chip. am: ba44979d79 am: f876cb4bf4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24894969

Change-Id: Iac57076c82c798876d7d94c9f03d3fc1d34bc09f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:41:51 +00:00
Brandon Dayauon a651f9ef97 Merge "Fix bubbleTextview Test when height should not be limited." into main 2023-09-29 18:40:50 +00:00
Winson Chung 351ea3c7ba Merge "Revert "Reset the frozen recents list state prior to test runs"" into main 2023-09-29 18:40:24 +00:00
Schneider Victor-tulias 41b42bf7d5 Add TAPL tests for the keyboard quick switch view
Flag: ENABLE_KEYBOARD_QUICK_SWITCH
Bug: 267520665
Test: TaplTestsKeyboardQuickSwitch
Design doc: go/kqs-tapl-tests

Change-Id: I1c3c5c758011a36ed405426f543ce450910f774e
2023-09-29 14:39:35 -04:00
Anvesh Renikindi 2df9d98072 [automerger skipped] Merge "Update renamed util function M3HCTToColor in launcher code" into aosp-main-future am: 8dda08c942 -s ours am: 14b7f988e2 -s ours am: 189eadc7e1 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: Ibba3cf76ef3f3d7b5acaa58289de1f7837bf9443
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:28:50 +00:00
fbaron 39a3351c0d [automerger skipped] Update renamed util function M3HCTToColor in launcher code am: 20d7edb05f -s ours am: c77dc6a312 -s ours am: b1b04374d6 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: Ia360e5dab37d09d865b6e278a72e30d3c0d7dbc8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 18:28:47 +00:00
fbaron e58aaf1802 Add smartspace as a widget to first page (implementation 2)
Flag: SMARTSPACE_AS_A_WIDGET
Test: verify that the smartspace gets replaced with a smartspace widget
Bug: 300140279
Change-Id: I42c170de5e2a9fd3d24d99bb8b09cf412c55e3a5
2023-09-29 18:16:09 +00:00
Sebastian Franco 894c2d970d Moving test related to the app icon menu to their own file
Bug: 298234173
Test: atest TaplAppIconMenuTest
Change-Id: Ifa3422a835d87163a16895b0c011e118dde40044
2023-09-29 11:15:44 -07:00
Sebastián Franco 94f7b53a54 Merge "Adding a keyboard shortcut delegarte to move logic outside of the launcher" into main 2023-09-29 18:03:02 +00:00
Anvesh Renikindi 189eadc7e1 [automerger skipped] Merge "Update renamed util function M3HCTToColor in launcher code" into aosp-main-future am: 8dda08c942 -s ours am: 14b7f988e2 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: If8169806adeaa4f216c5303e78aad12866f8e949
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 17:41:30 +00:00
fbaron b1b04374d6 [automerger skipped] Update renamed util function M3HCTToColor in launcher code am: 20d7edb05f -s ours am: c77dc6a312 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: Icc072010f6f9f32d3c719a76f99d531290db39bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 17:41:27 +00:00
Luca Zuccarini f876cb4bf4 [Toast] Fix ANR when tapping on rich card chip. am: ba44979d79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24894969

Change-Id: Ic9371183df1de229eb96a867c01eab21fd0f8b02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 17:36:12 +00:00
Winson Chung 08751d4d09 Revert "Reset the frozen recents list state prior to test runs"
Revert submission 24866277-recents_freeze_tests

Reason for revert: b/302267317

Reverted changes: /q/submissionid:24866277-recents_freeze_tests

Change-Id: I18a69ff8f98f02cab8a2b89b6e70eca15317dc35
2023-09-29 17:36:09 +00:00
Sunny Goyal 72a7407695 Merge "Passing activityClassName when setting unlock controller" into main 2023-09-29 16:48:03 +00:00
Anvesh Renikindi 14b7f988e2 [automerger skipped] Merge "Update renamed util function M3HCTToColor in launcher code" into aosp-main-future am: 8dda08c942 -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: I07f4ff7bb41e9f2fbbe35ff604842bcfeedfd438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 16:41:15 +00:00
fbaron c77dc6a312 [automerger skipped] Update renamed util function M3HCTToColor in launcher code am: 20d7edb05f -s ours
am skip reason: Merged-In If4c6783472d7fa05a1162e2f176a613d28f7bec3 with SHA-1 ed79206e4b is already in history

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

Change-Id: I0bfc330398df0b0fb0a6b3ec5fbb90a1b2a6de9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 16:41:10 +00:00
Fengjiang Li 576c7ff4d7 Merge "Don't preinflate all apps for taskbar in AllAppsStore#setApps" into main 2023-09-29 16:16:58 +00:00
Anvesh Renikindi 8dda08c942 Merge "Update renamed util function M3HCTToColor in launcher code" into aosp-main-future 2023-09-29 15:46:58 +00:00
Luca Zuccarini ba44979d79 [Toast] Fix ANR when tapping on rich card chip.
This method recursively looks up the view hierarchy for a suitable view
to animate. The wrong variable was causing an infinite loop by never
updating the object being checked for the end condition.

With the fix, the animation behaves as expected.

Fix: 302568434
Flag: ENABLE_SEARCH_RESULT_LAUNCH_ANIMATION
Test: see video in the bug.
Change-Id: I123e50f1618a1e48256c0c976eeb46c93e8391b2
Merged-In: I123e50f1618a1e48256c0c976eeb46c93e8391b2
2023-09-29 11:41:55 +00:00
Luca Zuccarini 5cde7ffc01 [Toast] Fix ANR when tapping on rich card chip.
This method recursively looks up the view hierarchy for a suitable view
to animate. The wrong variable was causing an infinite loop by never
updating the object being checked for the end condition.

With the fix, the animation behaves as expected.

Fix: 302568434
Flag: ENABLE_SEARCH_RESULT_LAUNCH_ANIMATION
Test: see video in the bug.
Change-Id: I123e50f1618a1e48256c0c976eeb46c93e8391b2
2023-09-29 11:31:17 +00:00
Xin Li 107a81fa37 [automerger skipped] Merge UP1A.231005.007 am: 30f1ecd3ec -s ours am: 487fcd7bc0 -s ours am: 29e85f92a0 -s ours am: e08898d52a -s ours
am skip reason: Merged-In Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca with SHA-1 3e91646d12 is already in history

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

Change-Id: I53aca10e10eebdf768b642182eef36dfcf900c14
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 10:20:32 +00:00
Xin Li e08898d52a [automerger skipped] Merge UP1A.231005.007 am: 30f1ecd3ec -s ours am: 487fcd7bc0 -s ours am: 29e85f92a0 -s ours
am skip reason: Merged-In Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca with SHA-1 3e91646d12 is already in history

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

Change-Id: If929fa68b17a0efe24a6f14d857fa686f95cdba9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 09:04:32 +00:00
Xin Li 29e85f92a0 [automerger skipped] Merge UP1A.231005.007 am: 30f1ecd3ec -s ours am: 487fcd7bc0 -s ours
am skip reason: Merged-In Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca with SHA-1 3e91646d12 is already in history

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

Change-Id: I6d8614342616d474918487a67d441f1fcb147452
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 08:16:29 +00:00
Xin Li 487fcd7bc0 [automerger skipped] Merge UP1A.231005.007 am: 30f1ecd3ec -s ours
am skip reason: Merged-In Id90e8e728cc3e2ccf7d92148fbb0d6ff3e6fd6ca with SHA-1 3e91646d12 is already in history

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

Change-Id: Ie5893ab78a84cca87fe99f62d912fe7311a7bdc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 07:15:39 +00:00
Jagrut Desai f9ad6ab8bb Merge "Add more debugs logs to TaskbarManager" into udc-qpr-dev am: f2412770e2 am: 7a150d07d7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24829188

Change-Id: Ia5fae16bbb40ac5553b92380f8b1f7f592cb201e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 05:04:26 +00:00
Jagrut Desai 7a150d07d7 Merge "Add more debugs logs to TaskbarManager" into udc-qpr-dev am: f2412770e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/24829188

Change-Id: I4abe9d51d2fb4e0b740484dcb5e08c3198848b39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-29 03:57:48 +00:00
Sunny Goyal 613254e657 Passing activityClassName when setting unlock controller
Bug: 302621267
Test: Presubmit
Flag: N/A
Change-Id: I84f9e404dc2e0654d38dd24c08e82fa5d103a067
2023-09-28 20:29:53 -07:00
Jagrut Desai f2412770e2 Merge "Add more debugs logs to TaskbarManager" into udc-qpr-dev 2023-09-29 02:39:18 +00:00
Android Build Coastguard Worker 4ffa0847e8 Snap for 10877629 from ab39708d7e to udc-qpr1-release
Change-Id: I29d1d4a11f55a16370e4dc6c3761a56b7f136dee
2023-09-28 23:19:02 +00:00
Vinit Nayak 5b759afe90 Merge "Revert "Unignore splitscreen tapl tests"" into main 2023-09-28 23:14:29 +00:00
Jagrut Desai c1bd53c3f0 Add more debugs logs to TaskbarManager
- adding more logs to TaskbarManager to investigate taskbar being present in folded state of the device.

Test: Presubmit
Bug: 254119092
Flag: not needed
Change-Id: I81c475f1c6bbc8d5b7874ddc45e8778861b61cd0
2023-09-28 15:46:22 -07:00
Jagrut Desai 7a2bfd39bb Merge "Add isTransientTaskbar as DeviceProfile Builder Property" into main 2023-09-28 22:34:25 +00:00
Fengjiang Li e92556819b Don't preinflate all apps for taskbar in AllAppsStore#setApps
Triggering all apps pre-infation at AllAppsStore#setApps is too late for taskbar, because it is in same frame when user opens all apps from taskbar. We should find an earlier entry point to pre-inflate all apps for taskbar.

Test: Verify taskbar is rendered correctly. Also verify we no longer pre-inflate all apps for taskbar in perfetto trace
Change-Id: If1f8c616b6be7f64ea16807f4b7a8b75da55d038
2023-09-28 14:29:07 -07:00
Brian Isganitis a5cdbe5d4e Merge "Fix Taskbar AllApps touch interception when above EDU." into main 2023-09-28 21:17:55 +00:00
Sebastián Franco d37195dc35 Merge "Moving getters and setters to the end of the file" into main 2023-09-28 20:13:46 +00:00
Jagrut Desai 3a7d139110 Add isTransientTaskbar as DeviceProfile Builder Property
- Breakout CL part 5
- This is a breakout cl from ag/24272821 to make it more readable and atomic.
- This cl consist of adding isTransientTaskbar as DeviceProfile Builder Poropety
- This cl alos consist a shared pref listener for taskbar pinning to update device profile.

Test: Manual, Visual
Bug: 265170176
Flag: ENABLE_TASKBAR_PINNING
Change-Id: I2ade751ffc8c59bd4b862b56c8ca7eb2aa05b7f2
2023-09-28 12:01:58 -07:00
Stefan Andonian dfc628dabb Merge "Make exception for TASKBAR_PINNING so it is boot aware." into main 2023-09-28 18:59:14 +00:00
Jagrut Desai e34b94f5b9 Merge "Gesture Error Detection - Improvements Part 3" into main 2023-09-28 18:55:38 +00:00