Merge "TAPL: Start getting events 10 sec ahead of the first expected one" into ub-launcher3-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
2b7e8e38f5
@@ -1222,7 +1222,7 @@ public final class LauncherInstrumentation {
|
||||
try {
|
||||
// Logcat may skip events after the specified time. Querying for events starting 1 sec
|
||||
// earlier.
|
||||
final Date startTime = new Date(mStartRecordingTime.getTime() - 1000);
|
||||
final Date startTime = new Date(mStartRecordingTime.getTime() - 10000);
|
||||
final String logcatEvents = mDevice.executeShellCommand(
|
||||
"logcat -d -v year --pid=" + getPid() + " -t "
|
||||
+ DATE_TIME_FORMAT.format(startTime).replaceAll(" ", "")
|
||||
|
||||
Reference in New Issue
Block a user