Merge "Explicitly exit from the am instrument after test completes" am: 7e76d37fdb am: e13662e50f am: 1ec0427058 am: cdb9983b70

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1877024

Change-Id: I73b048b562a54c16a76df81373e801aeaa425f69
This commit is contained in:
Jing Ji
2021-11-03 18:07:00 +00:00
committed by Automerger Merge Worker

View File

@@ -545,6 +545,8 @@ public class Instrument {
mWm.setAnimationScales(oldAnims); mWm.setAnimationScales(oldAnims);
} }
} }
// Exit from here instead of going down the path of normal shutdown which is slow.
System.exit(0);
} }
private static String readLogcat(long startTimeMs) { private static String readLogcat(long startTimeMs) {