Merge "Explicitly exit from the am instrument after test completes" am: 7e76d37fdb

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

Change-Id: I447c608ef558f9d958c2431ba8a12931009611e2
This commit is contained in:
Jing Ji
2021-11-03 17:18:27 +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) {