diff options
author | vadimt <vadimt@google.com> | 2019-05-23 17:41:07 -0700 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-05-24 19:28:40 -0700 |
commit | 2d6cd80bc9c125d5212695da99c1b1ed47611443 (patch) | |
tree | 2e423dcdde08231492ad2ae354e196bfafa255ce /src/com/android/launcher3/testing/TestProtocol.java | |
parent | 55d1e44c47d118e23c0ec452c5e5b31e8cd32690 (diff) | |
download | packages_apps_Trebuchet-2d6cd80bc9c125d5212695da99c1b1ed47611443.tar.gz packages_apps_Trebuchet-2d6cd80bc9c125d5212695da99c1b1ed47611443.tar.bz2 packages_apps_Trebuchet-2d6cd80bc9c125d5212695da99c1b1ed47611443.zip |
Launcher reports whe 0-button swipe-up gesture pause is detected.
This eliminates an unreliable timeout.
Also removing an unnecessary check for harness that is done by the
called method.
Change-Id: If954580060415cbb2952532c16ea0ae4dc7b9469
Diffstat (limited to 'src/com/android/launcher3/testing/TestProtocol.java')
-rw-r--r-- | src/com/android/launcher3/testing/TestProtocol.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/testing/TestProtocol.java b/src/com/android/launcher3/testing/TestProtocol.java index 9fd44a1c4..a678ef248 100644 --- a/src/com/android/launcher3/testing/TestProtocol.java +++ b/src/com/android/launcher3/testing/TestProtocol.java @@ -25,6 +25,7 @@ public final class TestProtocol { public static final String STATE_FIELD = "state"; public static final String SWITCHED_TO_STATE_MESSAGE = "TAPL_SWITCHED_TO_STATE"; public static final String SCROLL_FINISHED_MESSAGE = "TAPL_SCROLL_FINISHED"; + public static final String PAUSE_DETECTED_MESSAGE = "TAPL_PAUSE_DETECTED"; public static final String RESPONSE_MESSAGE_POSTFIX = "_RESPONSE"; public static final int NORMAL_STATE_ORDINAL = 0; public static final int SPRING_LOADED_STATE_ORDINAL = 1; |