summaryrefslogtreecommitdiff
path: root/tests/AppLaunch/src
diff options
context:
space:
mode:
authorYuanlang Song <yuanlang@google.com>2016-08-01 12:11:57 -0700
committerYuanlang Song <yuanlang@google.com>2016-08-01 12:11:57 -0700
commiteaf08cf7d0aaceb187dd879f7cd53c9d26d4bd75 (patch)
treefa76d4496ebd3100faa88b0edf2fed888f8d5661 /tests/AppLaunch/src
parent4e00581e6b98ff59a9a1dbf2038639c395a594aa (diff)
Work around to get ride of NPE in app startup test
bug: 30374599 Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a
Diffstat (limited to 'tests/AppLaunch/src')
-rw-r--r--tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
index 2346f8547550..16a0def7d5a5 100644
--- a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
+++ b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java
@@ -574,6 +574,7 @@ public class AppLaunch extends InstrumentationTestCase {
mLaunchIntent = intent;
mForceStopBeforeLaunch = forceStopBeforeLaunch;
mLaunchReason = launchReason;
+ mResult = -1L;
}
public Long getResult() {