Commit Graph

976 Commits

Author SHA1 Message Date
Gina Ko
5b845d2831 Reapply "Support toggling Taskbar All Apps with 3P Launcher." am: 036a83cd99
The revert was not supposed to be auto-merged.

This reverts commit 5a3bf93d82, reversing
changes made to 84f8002586.

Bug: 331384026
Change-Id: Ieb11a8544db90259aae856c4af805c37ce9e68cc
2024-03-26 15:03:31 -07:00
Liana Kazanova
5a3bf93d82 Revert "Support toggling Taskbar All Apps with 3P Launcher." am: 036a83cd99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/26720630

Change-Id: I235f6d6263be6e39a583ac7b1a0783bfc77533c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-26 20:57:12 +00:00
Liana Kazanova
036a83cd99 Revert "Support toggling Taskbar All Apps with 3P Launcher."
This reverts commit 176f186a6d.

Reason for revert: DroidMonitor: Potential culprit for http://b/331438065 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: Ie375277ad2f65199749f0211ab50037d4b37e664
Merged-In: Ie375277ad2f65199749f0211ab50037d4b37e664
2024-03-26 20:34:09 +00:00
Brian Isganitis
176f186a6d Support toggling Taskbar All Apps with 3P Launcher.
Taskbar All Apps exists regardless of the default launcher. Thus, we can
toggle it on large screen devices. This CL ties registering the system
action to default launcher and taskbar's enablement.

Test: adb shell input keyevent 117
Test: AllAppsActionManagerTest
Flag: LEGACY ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLED
Fix: 317259709
Change-Id: I26f0ed9e921beac762f3f9e6aaceb1002ad4801a
(cherry picked from commit c113b277e6)
2024-03-26 01:16:39 +00:00
Schneider Victor-tulias
cbdf4d3eef Merge "Add debug logs for b/321775748" into main 2024-03-25 20:26:43 +00:00
Schneider Victor-tulias
d3b014ea91 Add debug logs for b/321775748
Flag: N/A
Bug: 321775748
Test: FallbackRecentsTest
Change-Id: I0dde08c4e6b2942713274d2ae29e52d5504ea25d
2024-03-25 14:24:35 -04:00
Schneider Victor-tulias
02e57b3d62 Add ExtendedLongPressTimeoutRule to all AbstractLauncherUiTest
When devices run slow in pre/post-submit, it is possible for a drag to be processed at a long press before the first move event can be created and dispatched. Added a rule to artificially increase this long press timeout in tests.

Flag: N/A
Fixes: 319257820
Test: TAPL tests
Change-Id: I24e0f3baec15db7558351d0cb2bd93a4e49640e8
2024-03-25 11:22:31 -04:00
Federico Baron
2cdbbbcd8a Merge "Revert "Add screenrecord for testOverviewDeadzones"" into main 2024-03-22 17:48:08 +00:00
Treehugger Robot
362050932e Merge "Making some classess accessible in multivalent tests" into main 2024-03-21 10:38:08 +00:00
Federico Baron
0584c86ce6 Revert "Add screenrecord for testOverviewDeadzones"
This reverts commit eb65ca1600.

Reason for revert: test fixed with ag/26635495

Change-Id: Ic6b131f7a50e8b4f651b601cdf30304ce587eb5d
2024-03-20 20:55:57 +00:00
Vinit Nayak
5afb093a58 Merge "Add CUJ Jank interactions for App Pair saving and launching" into main 2024-03-20 20:31:01 +00:00
Sunny Goyal
5ca50490a3 Making some classess accessible in multivalent tests
Bug: 297950111
Flag: None
Test: Presubmit
Change-Id: I2e4b18fc279cb96b3f68d64f95703c11bb885b2a
2024-03-20 13:30:40 -07:00
Alex Chau
4a2c9ae112 Merge "Ignoring a test that was flaky for a too long time" into main 2024-03-20 10:49:53 +00:00
Tony Wickham
86d8386ab6 Merge "Add TaplTestsQuickstep#testExcludeFromRecents" into main 2024-03-19 20:28:58 +00:00
Vadim Tryshev
69e1d97653 Ignoring a test that was flaky for a too long time
Bug: 315376057
Flag: N/A
Test: presubmit
Change-Id: I34576501606eea999379733b4e36fb81cc137ef7
2024-03-19 11:50:23 -07:00
Vinit Nayak
422a634a24 Add CUJ Jank interactions for App Pair saving and launching
* Added finishCallback consumer to LauncherAccessibilityDelegate
to inform when adding an item to workspace was completed.
* The logic seemed to be dependent on the parameter
"focusForAccessibility", but all callers of that are currently
passing in true

Bug: 328646540
Test: https://paste.googleplex.com/6232597136408576
Newly added CUJs showing up when playing w/ device

Change-Id: Ia4944f8d23634bb92296938ea2d07a6babf6f77c
2024-03-18 16:27:47 -07:00
Brian Isganitis
d1af1ec631 Merge "Support toggling Taskbar All Apps with 3P Launcher." into main 2024-03-18 23:17:55 +00:00
Tony Wickham
b84b8524a1 Add TaplTestsQuickstep#testExcludeFromRecents
- Add ExcludeFromRecentsTestActivity, and add it to the manifest
  with excludeFromRecents="true"
- Add the test to check the current Overview task content
  description, ensuring that the excludeFromRecents task is
  present directly after a gesture but not after going home.
Bug: 324495241
Flag: None
Test: TaplTestsQuickstep#testExcludeFromRecents

Change-Id: I06be53673f0ac06924f79b44f19744da066cc7ea
2024-03-18 22:30:13 +00:00
Liana Kazanova
7d5531757b Merge "Revert "Add CUJ Jank interactions for App Pair saving and launching"" into main 2024-03-18 18:39:20 +00:00
Liana Kazanova
d8d4fb4375 Revert "Add CUJ Jank interactions for App Pair saving and launching"
Revert submission 26567492-appPairsCUJ

Reason for revert: http://b/330185095

Reverted changes: /q/submissionid:26567492-appPairsCUJ

Change-Id: I73d29fe3618a55622e0daa22c9960e3c5783c275
2024-03-18 18:35:02 +00:00
Vinit Nayak
025b06a1a3 Merge "Add CUJ Jank interactions for App Pair saving and launching" into main 2024-03-18 18:06:21 +00:00
Federico Baron
93c58db4c5 Merge "Revert^2 "Add screenrecord for testOverviewDeadzones"" into main 2024-03-18 16:52:24 +00:00
Jordan Silva
5669ace402 Merge "Fix overview split task icon and app chips flipped and misaligned in fake orientation" into main 2024-03-18 09:57:03 +00:00
Federico Baron
435084cf0d Revert^2 "Add screenrecord for testOverviewDeadzones"
This reverts commit 4d1fe6b854.

Reason for revert: issue started occurring again

Change-Id: I5a5500c42209afc6b54f7dff60a821093d45294a
2024-03-15 22:58:06 +00:00
Vinit Nayak
7ce42078da Add CUJ Jank interactions for App Pair saving and launching
* Added finishCallback consumer to LauncherAccessibilityDelegate
to inform when adding an item to workspace was completed.
* The logic seemed to be dependent on the parameter
"focusForAccessibility", but all callers of that are currently
passing in true

Bug: 328646540
Test: https://paste.googleplex.com/6232597136408576
Newly added CUJs showing up when playing w/ device

Change-Id: I5dce4b7e83fb17cc3a70565bfd5ce100a4cf72bb
2024-03-15 14:10:36 -07:00
Jordan Silva
c4ec531c9f Fix overview split task icon and app chips flipped and misaligned in fake orientation
This CL fixes the app and icon chip misaligned and wrong positioned in fake landscape and seascape.
The icon chip in seascape are still in RTL and it should be address in a different bug b/326377497.

Fix: 320314835
Fix: 326383211
Fix: 326383010
Bug: 328028913
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Test: manual. instructions described in the bug report.
Test: atest LandscapePagedViewHandlerTest
Test: atest SeascapePagedViewHandlerTest
Test: atest OverviewTaskSplitImageTest
Change-Id: I9be07cc4f4cf5ee6e1da0d954ed7664d96bd330c
2024-03-15 18:29:22 +00:00
Brian Isganitis
c113b277e6 Support toggling Taskbar All Apps with 3P Launcher.
Taskbar All Apps exists regardless of the default launcher. Thus, we can
toggle it on large screen devices. This CL ties registering the system
action to default launcher and taskbar's enablement.

Test: adb shell input keyevent 117
Test: AllAppsActionManagerTest
Flag: LEGACY ENABLE_ALL_APPS_SEARCH_IN_TASKBAR ENABLED
Fix: 317259709
Change-Id: I26f0ed9e921beac762f3f9e6aaceb1002ad4801a
2024-03-15 13:42:10 -04:00
Fengjiang Li
00711e68a5 Merge "Enable predictive back in TAPL tests" into main 2024-03-15 14:52:58 +00:00
Fengjiang Li
e90f098d4f Enable predictive back in TAPL tests
With ag/26349940 we have fixed the bug where back swipe is not working

Fix: 326118348
Test: this is the test
Flag: NONE
Change-Id: I7e826f6ba3022a04d016d4a0a2134e287d85e8be
2024-03-15 00:00:37 -07:00
Uwais Ashraf
cf70589921 Merge "Enable tests which do not require any modification" into main 2024-03-13 15:42:07 +00:00
Uwais Ashraf
4ee1701fd1 Enable tests which do not require any modification
Fix: 329052420
Flag: NA
Test: Presubmits + :NexusLauncher:testGoogleWithQuickstepDebugUnitTest
Change-Id: I27e847c923076e4e978fd7359c9c62745d4f5f0a
2024-03-13 12:27:46 +00:00
Federico Baron
2155c07211 Merge "Revert "Add screenrecord for testOverviewDeadzones"" into main 2024-03-13 05:38:54 +00:00
Federico Baron
4d1fe6b854 Revert "Add screenrecord for testOverviewDeadzones"
This reverts commit eb65ca1600.

Reason for revert: issue stopped happening 

Change-Id: Ib9313e0df9768ad17f3c8c7bd52cb45eb457b5cd
2024-03-12 18:43:28 +00:00
Shamali Patwa
7574bed02e Merge "Update labels for the categories to match the UX writer provided strings" into main 2024-03-12 11:37:25 +00:00
Vadim Tryshev
ba219fbe25 Merge "Verifying that current Launcher is the test Launcher in fallback recents tests" into main 2024-03-11 20:05:31 +00:00
Vadim Tryshev
daf428a142 Merge "Demoting unstable test testSwipeToStashAndUnstash" into main 2024-03-08 21:21:14 +00:00
Shamali P
20a5f4e8d1 Update labels for the categories to match the UX writer provided strings
Also fix issue that user was not passed when getting application info.
(error noticed by Zak)
http://screen/8fiiTSHvo2SfYdE

Bug: 318410881
Flag: N/A
Test: Unit test
Change-Id: Id85feec0d95d3d4d183a673f7eed40906b0043e2
2024-03-08 19:58:23 +00:00
Vadim Tryshev
96aca9eb0b Verifying that current Launcher is the test Launcher in fallback recents tests
Test: presubmit
Flag: N/A
Bug: 321775748
Change-Id: Id22993785f9674bc746dfbcf979e7b6f775a9680
2024-03-08 11:24:02 -08:00
Vadim Tryshev
8e2a024d96 Demoting unstable test testSwipeToStashAndUnstash
Test: presubmit
Flag: N/A
Bug: 321083190
Change-Id: I10643a9340e78a97df3e8501a8a55d0312e61353
2024-03-07 10:45:19 -08:00
Uwais Ashraf
45cd460cef Add required setup for quickstep tests to be run devicelessly
Fix: 325090628
Flag: NA
Test: gradlew :NexusLauncher:testGoogleWithQuickstepDebugUnitTest
Test: atest NexusLauncherRoboTests
Test: presubmits passing
Change-Id: I9ef80d4bf03e9bdb6c23d776df621a32248e6b0d
2024-03-06 14:01:21 +00:00
Federico Baron
c2b06abd6c Merge "Add screenrecord for testOverviewDeadzones" into main 2024-02-28 06:16:32 +00:00
fbaron
eb65ca1600 Add screenrecord for testOverviewDeadzones
Bug: 326839375
Test: TaplTestsQuickstep#testOverviewDeadzones
Flag: NONE
Change-Id: Ic7e889be042a76aa0979cc32d3d43a562a80f491
2024-02-27 14:55:11 -08:00
Helen Cheuk
96fd73ed84 Merge "Stash taskbar when software keyboard is docked" into main 2024-02-27 10:40:07 +00:00
Vadim Tryshev
0c7fd04a8f Removing verifying internal Launcher state from tests
I’ve never seen a useful failure from these checks, and now I’m seeing a false positive error. That error is fixable by reworking the code, but I think the value of these checks is not worth the effort.

Bug: 322823209
Test: presubmit
Flag: N/A
Change-Id: If675dad254fb82a2a842ef3f9054936f38de1cff
2024-02-26 10:44:57 -08:00
Pat Manning
5aa23d41dd Focus a task by default when using keyboard to go to overview.
Fix: 322898816
Test: TaplTestsQuickstep.java
Flag: None.
Change-Id: I6d4b0ca6593ed2ac7c7d8793954c36e55b5978de
2024-02-23 12:22:06 +00:00
Sebastián Franco
6a55a7b4b8 Merge "Remove the initialize method from setUp since is now on being called on the super method." into main 2024-02-22 18:38:50 +00:00
Sebastian Franco
51231ee5c2 Remove the initialize method from setUp since is now on being called on the super method.
Bug: 324261526
Test: most Tapl test
Flag: NA
Change-Id: Icbf9883613069101a3c8428e8e3b02b1eb01dcd0
2024-02-21 17:24:12 -08:00
helencheuk
00ddb5e3a9 Stash taskbar when software keyboard is docked
Stash taskbar when
1) Software keybaord is docked
2) Input toolbar is placed at the taskbar area (stash so toolbar and taskbar would not overlap)

Testing result:
https://drive.google.com/file/d/1NMDexHl0FgyHFaOUh_GSEEUU2k08STJH/view?usp=sharing

Bug: 317251202
Test: TaplTestsQuickstep#testQuickSwitchToPreviousAppForTablet
Flag: N/A

Change-Id: I90662bc6e68f644e919f5c702059476b02519ed6
2024-02-21 23:03:03 +00:00
Vadim Tryshev
67c85d8fc2 Demote unstable test testQuickSwitchFromApp from presubmit
Bug: 325659406
Test: presubmit
Flag: N/A
Change-Id: I997fb09c93400a706c08235ad6d1a6dd910398fd
2024-02-21 10:49:06 -08:00
Vinit Nayak
2b031727f0 Merge "Log split metrics through individual sessions" into main 2024-02-21 00:20:44 +00:00