summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Gopinath Elanchezhian <gelanchezhian@google.com> 2017-06-15 05:05:21 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-06-15 05:05:27 +0000
commitcbf19dcd767b01d13b43b9192d381c58470e982f (patch)
treeba3395f25304569a663917c96d0c79840e23b7bb
parent04c3cc6d12012dcb39f8aef9a07143d91328ba77 (diff)
parent9326f2227cfc7595d52a6a48fb1831f1085961e7 (diff)
Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
-rw-r--r--tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
index 272653f7fc66..4d2f97f2a5fc 100644
--- a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
+++ b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
@@ -664,7 +664,8 @@ public class AppLaunch extends InstrumentationTestCase {
if (lineCount == 2 && line.contains(SUCCESS_MESSAGE)) {
launchSuccess = true;
}
- if (launchSuccess && lineCount == 4) {
+ // Parse TotalTime which is the launch time
+ if (launchSuccess && lineCount == 5) {
String launchSplit[] = line.split(":");
launchTime = launchSplit[1].trim();
}