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

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

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