Commit Graph

72023 Commits

Author SHA1 Message Date
Vinit Nayak a7b491e35e Null reference to split callback
Bug: 302551868
Test: Ran atest NexusLauncherTests:com.android.quickstep.TaplTestsSplitscreen
which caused some regressions last time. Passed locally

Change-Id: I94b28296cf12c5087ee3e878352c057d1d1a73de
2023-10-05 17:22:46 -07:00
Vadim Tryshev a6b74ffdfc Merge "Verifying that workspace looks correct at the end of the test." into main 2023-10-02 21:48:04 +00:00
Kevin Lim f85e8e5ad5 Merge "[AppInfo] Enable logs for debugging unexpected AppInfo changes." into main 2023-10-02 21:37:35 +00:00
Tracy Zhou fe38407873 Merge "Repostion contextual buttons upon layout changes" into main 2023-10-02 20:15:31 +00:00
Vadim Tryshev 8502a7fbbf Merge "Not recycling input events sent by the tests." into main 2023-10-02 19:52:35 +00:00
Kevin Lim 07546b88e7 [AppInfo] Enable logs for debugging unexpected AppInfo changes.
Here's a sample log run through of AllAppsStore and PackageUpdatedTask
logs: http://gpaste/5250747917664256

Bug: b/290090023
Flag: None. Adding logging.
Test: None. Adding logging.
Change-Id: Ia1d620a50267d6a65fe719936d7e87e6dad13afa
2023-10-02 19:40:58 +00:00
Brian Isganitis c0b9b422be Merge "Add AllApps TAPL APIs for toggling with meta key." into main 2023-10-02 19:09:38 +00:00
Alex Chau 8eb662c67b Merge "Create icon app chip menu for overview tasks." into main 2023-10-02 17:40:33 +00:00
Alex Chau a84e50412c Merge "Mark existing Launcher CUJs as Platinum tests." into main 2023-10-02 13:05:30 +00:00
Pat Manning 1695cc724c Create icon app chip menu for overview tasks.
Fix: 257951354
Test: TaplTestsQuickstep
Test: TaplTestsSplitscreen
Flag: ENABLE_OVERVIEW_ICON_MENU
Change-Id: Id8a14b1970ae42bcc74e95419caeaf52ef63638b
2023-10-02 12:51:56 +00:00
Luca Zuccarini 00a3399624 Merge "[Toast] Fix ANR when tapping on rich card chip." into main 2023-10-02 10:31:45 +00:00
Schneider Victor-tulias 8f795844e9 Merge "Refactor the BorderAnimator for simplicity" into main 2023-10-01 17:27:16 +00:00
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
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
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