Move TEST_HARNESS_TRIGGER_TIMEOUT to MotionPauseDetector directly
- Removed TestProtocol.sForcePauseTimeout and TestProtocol.REQUEST_SET_FORCE_PAUSE_TIMEOUT - Instead, add MotionPauseDetector.TEST_HARNESS_TRIGGER_TIMEOUT, which is used when Utilities.IS_RUNNING_IN_TEST_HARNESS. Test: unbundled/launcher/launcher3_test_platform Fixes: 232548865 Change-Id: I224e99042b41375cab6bffd555434217518958c5
This commit is contained in:
1 parent
51ceb5f200
commit
539c2703ea
4 files changed
+12
-18
No files matched your search
@@ -153,10 +153,6 @@ public class TestInformationHandler implements ResourceBasedOverride {
|
||||
mDeviceProfile.isTwoPanels);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_SET_FORCE_PAUSE_TIMEOUT:
|
||||
TestProtocol.sForcePauseTimeout = Long.parseLong(arg);
|
||||
return response;
|
||||
|
||||
case TestProtocol.REQUEST_GET_HAD_NONTEST_EVENTS:
|
||||
response.putBoolean(
|
||||
TestProtocol.TEST_INFO_RESPONSE_FIELD, TestLogging.sHadEventsNotFromTest);
|
||||
|
||||
Reference in new issue
Block a user