Commit Graph

824 Commits

Author SHA1 Message Date
Tony Wickham d546564f3e Change TAPL to swipe to stash taskbar (instead of deprecated long press)
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.

Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798

Change-Id: Ie7b8fcedb94e33742b7bf18cb829dab55af74b7d
2023-12-05 20:38:41 +00:00
Satish Yalla b85266aef2 Merge "Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."" into main 2023-12-05 10:21:18 +00:00
Satish Yalla de82f8f44f Revert "Change TAPL to swipe to stash taskbar (instead of deprec..."
Revert submission 25532044-tapl-transient-taskbar-default

Reason for revert: <test revert (b/314873201)>

Reverted changes: /q/submissionid:25532044-tapl-transient-taskbar-default

Change-Id: I51e78699f588a8fe8506c96398de921448e0ab6a
2023-12-05 06:48:25 +00:00
Tony Wickham 2f334e9ca7 Merge "Change TAPL to swipe to stash taskbar (instead of deprecated long press)" into main 2023-12-05 02:40:02 +00:00
Pat Manning bf6905c069 Merge "Navigate grid overview via arrows and tab properly." into main 2023-12-01 12:23:21 +00:00
Pat Manning e683c4c549 Navigate grid overview via arrows and tab properly.
Fix: 311646336
Fix: 281021558
Test: TaskGridNavHelperTest
Flag: N/A
Change-Id: Iad5a2eec22f8fa4519a6a1f7bcde097e00d6b142
2023-12-01 11:06:41 +00:00
Pat Manning 001d1cda52 Merge "Allow right-click of taskbar icons to launch long-click menu." into main 2023-11-30 10:56:46 +00:00
Sebastián Franco 4a708997a1 Merge "Moving the static initialization method from TaplTestsLauncher3 to AbstractLauncherUiTest" into main 2023-11-28 18:32:58 +00:00
Vadim Tryshev 8f2dc92364 Merge "Permanently demoting stress tests from presubmit to speed up presubmits" into main 2023-11-28 02:38:25 +00:00
Vadim Tryshev 5feaf596e6 Permanently demoting stress tests from presubmit to speed up presubmits
Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ib2edf419ad556d2a4bf5c77b5c026829f9b413b9
2023-11-27 11:54:22 -08:00
Helen Cheuk 946a2493eb Merge "Not show hover border on select mode" into main 2023-11-27 14:21:29 +00:00
helencheuk b4cda2adbe Not show hover border on select mode
Fix: 295175854
Test: TaskViewTest
Flag: ACONFIG com.android.launcher3.enable_cursor_hover_states Nextfood
Change-Id: I81b1af27b590ea509e8ec84a9d3ff008f31da21f
2023-11-23 10:51:58 +00:00
Sebastian Franco 0e02d74cbf Moving the static initialization method from TaplTestsLauncher3 to AbstractLauncherUiTest
Flag: NA
Bug: 298234173
Test: atest TaplWorkspaceTest
Change-Id: I49dadefa17ef0ea78ca342b8b6d7bb9e38d4d0c9
2023-11-22 12:43:44 -06:00
Pat Manning 06ecd24ee3 Allow right-click of taskbar icons to launch long-click menu.
Fix: 290459491
Test: TaplTestsTaskbar#testOpenMenuViaRightClick
Flag: NONE.
Change-Id: Ide85f62e5b08d5261f15871e85d3250cc66d0919
2023-11-21 14:45:31 +00:00
Tony Wickham e1f770df2f Change TAPL to swipe to stash taskbar (instead of deprecated long press)
This also means Taskbar is transient by default in automated tests,
instead of persistent. Updated some checks accordingly.

Flag: LEGACY ENABLE_TRANSIENT_TASKBAR ENABLED
Test: TaskbarExpandCollapse#hideShowTaskbar; TaplTestsTaskbar;
TaplTestsTransientTaskbar; TaplTestsPersistentTaskbar
Bug: 270395798

Change-Id: I48b4c809025a9bab0a37ada1317adee823b1a8f9
2023-11-20 23:41:01 +00:00
Pat Manning 54acb41e8c Merge "Do not hide persistent taskbar during input for physical keyboard." into main 2023-11-20 23:29:55 +00:00
Pat Manning a401e15553 Do not hide persistent taskbar during input for physical keyboard.
Fix: 255818649
Test: TaplTestsQuickstep
Flag: NONE.
Change-Id: Id5495163f43464125bfcbd9e255f18e24183d67a
2023-11-20 10:45:05 +00:00
Alex Chau 5fc3b8ca9f Merge "Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet" into main 2023-11-16 19:57:36 +00:00
Vadim Tryshev f450938474 Merge "Removing obsolete ScreenRecord annotations" into main 2023-11-16 19:36:28 +00:00
Vadim Tryshev 070ca176c3 Merge "Removing obsolete ScreenRecord annotation" into main 2023-11-16 19:16:42 +00:00
Alex Chau 0f1be48319 Add ScreenRecord for TaplTestsQuicksteptestOverviewForTablet
Bug: 309820115
Test: None
Flag: None
Change-Id: I03eba051bc766482ff27b63487e9587d58770619
2023-11-16 10:21:57 +00:00
Sergey Pinkevich 172eb5896b Merge "Show split screen action for each task" into main 2023-11-16 10:03:44 +00:00
Fengjiang Li 1da44348cf Merge "Add unit test for RecentsAnimationDeviceState.java" into main 2023-11-15 23:05:32 +00:00
Vadim Tryshev 057f1817c4 Removing obsolete ScreenRecord annotation
Bug: 242163205
Test: presubmit
Flag: N/A
Change-Id: I6adc0612b3daa13fce73e610cc1017d484a21a2e
2023-11-15 13:41:53 -08:00
Vadim Tryshev d70bd21271 Removing obsolete ScreenRecord annotations
Bug: 231615831
Test: presubmit
Flag: N/A
Change-Id: I85060757a11c9737ee9f6128da1f055f5056fe98
2023-11-15 13:39:19 -08:00
Fengjiang Li b3007a9e3d Add unit test for RecentsAnimationDeviceState.java
Bug: 299466828
Flag: N/A
Test: test device boot without issue
Change-Id: Iaa1a7cff547e03eaacc950702c2e7cd34846e987
2023-11-15 13:01:51 -08:00
Vadim Tryshev ebf08d8b75 Having longer period of waiting for Launcher restart only in Launcher test suites
This will help to avoid breaking other test suites by this increase.

Bug: 311023703
Test: presubmit
Flag: N/A
Change-Id: Ia91b03b72fa6592684e7a1673b9b56448f637dd4
2023-11-15 13:00:37 -08:00
Pat Manning 8c6dc7368e Merge "Delete flag-based test now that flag is on by default in staging where tests run." into main 2023-11-15 15:45:59 +00:00
Sergey Pinkevich ead5259f9a Show split screen action for each task
Remove previous condition:
1. `taskView.containsMultipleTasks()` - there is already a check to filter out "Split screen" item: https://googleplex-android.googlesource.com/platform/packages/apps/Launcher3/+/refs/heads/main/quickstep/src/com/android/quickstep/TaskOverlayFactory.java#68

Edit previous condition:
2. `notEnoughTasksToSplit` - condition saying if there is less than 2 recent tasks. We still should give the possibility to split the screen if Taskbar is not presented

Bug: 305958994
Flag: NONE
Test: manual - took a photo (https://screenshot.googleplex.com/7doU5z9AjxxETUo)

Change-Id: I3fdfea987c426d557a91b0a25af368069e8af3f8
2023-11-15 15:14:50 +00:00
Pat Manning dc24da900f Delete flag-based test now that flag is on by default in staging where tests run.
Fix: 309921805
Test: None.
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: I19339253487c6cb30ab02ee6f824efa520f878b9
2023-11-15 14:18:36 +00:00
Jagrut Desai cd016b5a41 Merge "Revert "Revert "Remove TaplTestsQuickstep tests from PlatinumTes..."" into main 2023-11-14 02:39:14 +00:00
Jagrut Desai a407abfbec Revert "Revert "Remove TaplTestsQuickstep tests from PlatinumTes..."
Revert submission 25359412-revert-25316575-CUJ-TaplTestQuickstep-part2-VHLGZMEHQT

Reason for revert: The excluding all of these test cl is landed now, so we can safely revert this revert change. 


Reverted changes: /q/submissionid:25359412-revert-25316575-CUJ-TaplTestQuickstep-part2-VHLGZMEHQT

Change-Id: I9ddb7a8140c5172b708b43938ce224b7e8051051
2023-11-13 21:58:24 +00:00
Priyanka Advani c0f35ccea1 Merge "Revert "Remove TaplTestsQuickstep tests from PlatinumTest Part2"" into main 2023-11-13 21:10:24 +00:00
Priyanka Advani 07c9ca69c3 Revert "Remove TaplTestsQuickstep tests from PlatinumTest Part2"
Revert submission 25316575-CUJ-TaplTestQuickstep-part2

Reason for revert: b/310687289

Reverted changes: /q/submissionid:25316575-CUJ-TaplTestQuickstep-part2

Change-Id: I3a253e42f2ea00921658317edae2423fe909ebb2
2023-11-13 20:47:35 +00:00
Vadim Tryshev 18c1038ddf Merge "Making killing setup wizard a permanent solution" into main 2023-11-13 20:20:07 +00:00
Jagrut Desai 6401f298a1 Merge "Remove TaplTestsQuickstep tests from PlatinumTest Part2" into main 2023-11-13 18:29:56 +00:00
Vadim Tryshev 7df94cca65 Disabling strict activity leak check
Started seeing presubmit blockers like:
https://android-build.corp.google.com/test_investigate/?invocationId=I51800010216065294&testResultId=TR60829041305611993

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ic88f67e54d2dec4b244784abd2a15fbdfdf9e711
2023-11-10 15:04:46 -08:00
Vadim Tryshev 1f8ff66235 Making killing setup wizard a permanent solution
It will be killed only in presubmit. In postsubmit, we want to be a true
e2e test exposed to all actual problems, including setup wizard that
doesn't go away.

Bug: 309471958
Test: presubmit
Flag: N/A
Change-Id: I2e877eade060e75e277eb3603d90b659207b5a47
2023-11-10 12:20:45 -08:00
Tracy Zhou d66d114944 Merge "Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION" into main 2023-11-09 18:47:59 +00:00
Vadim Tryshev fd13b2c650 Merge "Demoting a couple of flaking tests from presubmit" into main 2023-11-09 01:40:36 +00:00
Tracy Zhou f2d7be1cec Make enableTaskbarNoRecreate() depend on ENABLE_TASKBAR_PINNING and ENABLE_TASKBAR_NAVBAR_UNIFICATION
We want to turn on the flag when either of the dependent features is on

Bug: 299193589
Test: N/A
Change-Id: I7b48ff2be0cf9da3b6bc00d75370fa585ce4140d
2023-11-08 14:52:58 -08:00
Jagrut Desai 913f6f6767 Remove TaplTestsQuickstep tests from PlatinumTest Part2
Test: Presubmit
Bug: 303256981
Flag: NONE
Change-Id: If6b6ff6a495da8d079ad4080bfe373f368904ae0
2023-11-08 22:47:38 +00:00
Vadim Tryshev 1c8e30b54c Merge "Making keyguard dismissal a permanent solution" into main 2023-11-08 20:24:11 +00:00
Vadim Tryshev e494c1b6e7 Demoting a couple of flaking tests from presubmit
Bug: 288939273, 309820115
Test: presubmit
Flag: N/A
Change-Id: Iea7dd435c4f6461ceb9e45ce6b3942ddc2d11347
2023-11-08 12:01:00 -08:00
Vadim Tryshev e5a1b89220 Making keyguard dismissal a permanent solution
Before, it was considered to be a workaround while System UI has
keyguard bugs. But these bugs will happen in future, and they are
unlikely to be prevented by presubmit tests since they are usually flakes.

The solution that this CL makes permanent is: in presubmit attempt
to unlock SysUI if it's locked. In postsubmit, just make sure it's
unlocked. This way, in postsubmit, we'll know whether tere are active
keyguard bugs.

Bug: 187761685
Test: presubmit
Flag: N/A
Change-Id: Ia9602bc6e9cc8400e939051c45aba92bc197d428
2023-11-07 14:45:58 -08:00
Tracy Zhou 6fe69f5a2a Migrate HIDE_NAVBAR_WINDOW to aconfig and rename is to enable_taskbar_navbar_unification
Bug: 309671494
Test: N/A
Change-Id: If35d807c17351146029498a876a055384eff3c2f
2023-11-07 13:51:38 -08:00
Vinit Nayak 38dc539f84 Merge "Unignore split tests" into main 2023-11-07 18:19:11 +00:00
Vinit Nayak 8ef38b0f9e Unignore split tests
* With the fix of b/302551868, let's
see if that fixes this issue as well

Bug: 297135374
Change-Id: I817307dbb5e70d8c8534627499d429529e33de4a
2023-11-06 14:25:35 -08:00
Vadim Tryshev 8b1881223b Merge "Waiting for the setup wizard to go away" into main 2023-11-06 18:17:46 +00:00
Jagrut Desai a0c9db6dce Merge "Remove TaplTestsQuickstep#testPressBack from PlatinumTest" into main 2023-11-06 17:32:43 +00:00