Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 827335f2 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Revert "Removing unused tracing"

This reverts commit 1cb868e2.

Reason for revert: The problem still happens

Bug: 195319692
Test: presubmit
Change-Id: I468c84af743f04f440b719a561e4e5dd6adbf3b4
parent 1cb868e2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -153,6 +153,8 @@ public abstract class AbstractLauncherUiTest {
    public static String dumpHprofData() {
        String result;
        if (sDumpWasGenerated) {
            Log.d("b/195319692", "dump has already been generated by another test",
                    new Exception());
            result = "dump has already been generated by another test";
        } else {
            try {
@@ -167,6 +169,7 @@ public abstract class AbstractLauncherUiTest {
                            "am dumpheap " + device.getLauncherPackageName() + " " + fileName);
                }
                sDumpWasGenerated = true;
                Log.d("b/195319692", "sDumpWasGenerated := true", new Exception());
                result = "memory dump filename: " + fileName;
            } catch (Throwable e) {
                Log.e(TAG, "dumpHprofData failed", e);