summaryrefslogtreecommitdiffstats
path: root/quickstep/src
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-06-28 12:04:36 -0700
committervadimt <vadimt@google.com>2019-07-11 14:17:06 -0700
commit853852351f3b1bd9fbaa063b0e99cd8067e61c50 (patch)
tree5ec47d595605c6c56538a410fd491f1d8efc8df9 /quickstep/src
parentf11dd8e1077ca229e228afd6a39e7b22d12105f7 (diff)
downloadandroid_packages_apps_Trebuchet-853852351f3b1bd9fbaa063b0e99cd8067e61c50.tar.gz
android_packages_apps_Trebuchet-853852351f3b1bd9fbaa063b0e99cd8067e61c50.tar.bz2
android_packages_apps_Trebuchet-853852351f3b1bd9fbaa063b0e99cd8067e61c50.zip
Correctly restarting Launcher from OOP tests
Waiting for touch interaction service; waiting for package-restart events. Bug: 136215685 Change-Id: I0c31c09fe3a58b898168dfdb4e4d23757b94a47c
Diffstat (limited to 'quickstep/src')
-rw-r--r--quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java b/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
index 89513634f..b59e13362 100644
--- a/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
+++ b/quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java
@@ -10,7 +10,8 @@ import com.android.quickstep.util.LayoutUtils;
public class QuickstepTestInformationHandler extends TestInformationHandler {
- public QuickstepTestInformationHandler(Context context) { }
+ public QuickstepTestInformationHandler(Context context) {
+ }
@Override
public Bundle call(String method) {
@@ -29,6 +30,12 @@ public class QuickstepTestInformationHandler extends TestInformationHandler {
response.putInt(TestProtocol.TEST_INFO_RESPONSE_FIELD, (int) swipeHeight);
return response;
}
+
+ case TestProtocol.REQUEST_IS_LAUNCHER_INITIALIZED: {
+ response.putBoolean(TestProtocol.TEST_INFO_RESPONSE_FIELD,
+ TouchInteractionService.isInputMonitorInitialized());
+ break;
+ }
}
return super.call(method);