Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb9272c6 authored by gopinath's avatar gopinath
Browse files

Use TotalTime instead of ThisTime in app launch test

Bug: 62272543

Test: Tested with calculator and facebook messenger launch

Change-Id: Ide4e844e54428edcb7e3356cb3d0492392f6bde3
parent a00259f4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();
                    }