From eaf08cf7d0aaceb187dd879f7cd53c9d26d4bd75 Mon Sep 17 00:00:00 2001 From: Yuanlang Song Date: Mon, 1 Aug 2016 12:11:57 -0700 Subject: [PATCH] Work around to get ride of NPE in app startup test bug: 30374599 Change-Id: I9050ba6ac6283734c345e4e7f9f56f34e1477c7a --- tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java b/tests/AppLaunch/src/com/android/tests/applaunch/AppLaunch.java index 2346f8547550f..16a0def7d5a53 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() {