diff options
author | vadimt <vadimt@google.com> | 2019-02-14 17:47:11 -0800 |
---|---|---|
committer | vadimt <vadimt@google.com> | 2019-02-14 17:47:11 -0800 |
commit | 2a648aa894dd029fa2981929c3b937d68f733d78 (patch) | |
tree | af7e9aa318a4aea63317f4d41ecc325ae37dd590 /src/com/android/launcher3/TestProtocol.java | |
parent | 0589b0782922d5739e33aee41f389b0bad007916 (diff) | |
download | android_packages_apps_Trebuchet-2a648aa894dd029fa2981929c3b937d68f733d78.tar.gz android_packages_apps_Trebuchet-2a648aa894dd029fa2981929c3b937d68f733d78.tar.bz2 android_packages_apps_Trebuchet-2a648aa894dd029fa2981929c3b937d68f733d78.zip |
Moving state ordinals to TestProtocol
These checks immediately broke after recent change of ordinals.
Test: Tapl tests
Change-Id: Ie040f452d3f31c86f780e6f38c6f9afa0d0dcbf3
Diffstat (limited to 'src/com/android/launcher3/TestProtocol.java')
-rw-r--r-- | src/com/android/launcher3/TestProtocol.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/TestProtocol.java b/src/com/android/launcher3/TestProtocol.java index 008b624d1..f19b0e007 100644 --- a/src/com/android/launcher3/TestProtocol.java +++ b/src/com/android/launcher3/TestProtocol.java @@ -25,4 +25,8 @@ 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 RESPONSE_MESSAGE_POSTFIX = "_RESPONSE"; + public static final int SPRING_LOADED_STATE_ORDINAL = 1; + public static final int OVERVIEW_STATE_ORDINAL = 2; + public static final int ALL_APPS_STATE_ORDINAL = 3; + public static final int BACKGROUND_APP_STATE_ORDINAL = 4; } |