diff options
author | 2025-02-17 03:08:41 +0000 | |
---|---|---|
committer | 2025-03-01 00:31:46 +0000 | |
commit | a5c5536d7d8855e5707890701caafd99c0501e78 (patch) | |
tree | 8d4fbd885f137a7a06dd9ab64bc7dce158b7fdb5 /shared/src | |
parent | 26ad16592a56962fc197da55bcf028bed18c89bf (diff) |
Test all apps -> workspace drag for taskbar on home
Adds TAPL test that verifies users are able to drag app items from all
apps to workspace when all apps is opened on from a pinned taskbar shown
on the home screen, as may be the case when a desktop mode taskbar is
shown on home screen.
Adapts LauncherInstrumentation to handle the case where taskbar is shown
on home - when verifying launcher states, it sets taskbar visibility
expectations to account for a posibility that taskbar is visible in
home, or workspace states. Adds a request to the test protocol to
determine whether taskbar should be visible on home.
Bug: 392118517
Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays
Test: Ran TaplTestLockedTaskbar tests
Change-Id: I40b06da70aaa49b0a3e0673797e6c18773a72238
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/com/android/launcher3/testing/shared/TestProtocol.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/com/android/launcher3/testing/shared/TestProtocol.java b/shared/src/com/android/launcher3/testing/shared/TestProtocol.java index 0583d6dae9..cdeab954fd 100644 --- a/shared/src/com/android/launcher3/testing/shared/TestProtocol.java +++ b/shared/src/com/android/launcher3/testing/shared/TestProtocol.java @@ -125,6 +125,8 @@ public final class TestProtocol { "is-predictive-back-swipe-enabled"; public static final String REQUEST_ENABLE_TASKBAR_NAVBAR_UNIFICATION = "enable-taskbar-navbar-unification"; + public static final String REQUEST_TASKBAR_SHOWN_ON_HOME = + "taskbar-shown-on-home"; public static final String REQUEST_NUM_ALL_APPS_COLUMNS = "num-all-apps-columns"; public static final String REQUEST_IS_TWO_PANELS = "is-two-panel"; public static final String REQUEST_CELL_LAYOUT_BOARDER_HEIGHT = "cell-layout-boarder-height"; |