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

Commit e009e30a authored by Ben Miles's avatar Ben Miles
Browse files

Add ANR info to traces for all builds

This information (ErrorId, Subject, Process) was previously only added
to traces for eng & userdebug builds. Extending to user builds to
support Beta / Public populations.

Bug: b/235206177
Test: Tested manually
Change-Id: Id1660b684281a5d58fd058a752d124e1000654a9
parent c26fe9bc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package com.android.server.am;

import android.os.Build;
import android.os.Trace;

import java.util.UUID;
@@ -31,7 +30,7 @@ public class TraceErrorLogger {
    private static final int PLACEHOLDER_VALUE = 1;

    public boolean isAddErrorIdEnabled() {
        return Build.IS_DEBUGGABLE;
        return true;
    }

    /**