diff --git a/tools/preload-check/device/src/com/android/preload/check/Util.java b/tools/preload-check/device/src/com/android/preload/check/Util.java index 19cc5abf6f4d9..fccea0a0c1076 100644 --- a/tools/preload-check/device/src/com/android/preload/check/Util.java +++ b/tools/preload-check/device/src/com/android/preload/check/Util.java @@ -40,6 +40,8 @@ public class Util { } catch (Throwable t) { throw new RuntimeException(t); } + // Reset the framework's kill handler. + Thread.setDefaultUncaughtExceptionHandler(null); } public static Collection getBootDexFiles() throws Exception {