Merge "Generating Hdumps for more leaks"

This commit is contained in:
TreeHugger Robot 2021-01-14 07:01:55 +00:00 committed by Android (Google) Code Review
commit 23f0dc318c
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ public abstract class AbstractLauncherUiTest {
return "Activity leak detector has found leaked activities, " + dumpHprofData() + ".";
}
private static String dumpHprofData() {
public static String dumpHprofData() {
try {
final String fileName = getInstrumentation().getTargetContext().getFilesDir().getPath()
+ "/ActivityLeakHeapDump.hprof";