Improving memory dump diag

atest deletes artifacts directory on the device, but saves artifacts at the host machine.

Bug: 187761685
Test: presubmit
Change-Id: I1f5244ebfe6b606c4891f5fca003541b27cc944c
This commit is contained in:
vadimt authored and Vadim Tryshev committed 2021-12-09 21:58:45 +00:00
1 parent 5b2bbe7e20
commit bc1da4ca98
1 file changed
+1 -1
@@ -149,7 +149,7 @@ public abstract class AbstractLauncherUiTest {
}
sDumpWasGenerated = true;
Log.d("b/195319692", "sDumpWasGenerated := true", new Exception());
result = "memory dump filename: " + fileName;
result = "saved memory dump as an artifact";
} catch (Throwable e) {
Log.e(TAG, "dumpHprofData failed", e);
result = "failed to save memory dump";