summaryrefslogtreecommitdiff
path: root/libs/gui/tests/EndToEndNativeInputTest.cpp
diff options
context:
space:
mode:
authorSteven Laver <lavers@google.com>2020-05-11 09:18:16 -0700
committerSteven Laver <lavers@google.com>2020-05-11 09:18:16 -0700
commitd2d840c9b3abb524a12cecf50ef22124fb0fbefa (patch)
tree879f6444409c1144b20fe9448ab98a37ca5b16e6 /libs/gui/tests/EndToEndNativeInputTest.cpp
parent22f0b40fa078772c92eea07e9746d169e7e95c41 (diff)
parent4475a071b22228b6631aa1c4c0ad095eae2e5750 (diff)
Merge RP1A.200511.001
Change-Id: I402147b1ded4ecf757274805c42158259ff0fe3c
Diffstat (limited to 'libs/gui/tests/EndToEndNativeInputTest.cpp')
-rw-r--r--libs/gui/tests/EndToEndNativeInputTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/tests/EndToEndNativeInputTest.cpp b/libs/gui/tests/EndToEndNativeInputTest.cpp
index 110bf925f3..fd14330374 100644
--- a/libs/gui/tests/EndToEndNativeInputTest.cpp
+++ b/libs/gui/tests/EndToEndNativeInputTest.cpp
@@ -182,7 +182,7 @@ private:
mInputInfo.name = "Test info";
mInputInfo.layoutParamsFlags = InputWindowInfo::FLAG_NOT_TOUCH_MODAL;
mInputInfo.layoutParamsType = InputWindowInfo::TYPE_BASE_APPLICATION;
- mInputInfo.dispatchingTimeout = 100000;
+ mInputInfo.dispatchingTimeout = seconds_to_nanoseconds(5);
mInputInfo.globalScaleFactor = 1.0;
mInputInfo.canReceiveKeys = true;
mInputInfo.hasFocus = true;
@@ -200,7 +200,7 @@ private:
InputApplicationInfo aInfo;
aInfo.token = new BBinder();
aInfo.name = "Test app info";
- aInfo.dispatchingTimeout = 100000;
+ aInfo.dispatchingTimeout = seconds_to_nanoseconds(5);
mInputInfo.applicationInfo = aInfo;
}