Use TotalTime instead of ThisTime in app launch test

Bug: 62272543

Test: Tested with calculator and facebook messenger launch

Change-Id: Ide4e844e54428edcb7e3356cb3d0492392f6bde3
This commit is contained in:
gopinath
2017-06-01 17:28:36 -07:00
parent a00259f47d
commit fb9272c637

View File

@@ -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();
}