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

Commit b76d8c87 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.

(cherry-pick of ag/18773749)

Bug: b/235206177
Test: Tested manually
Change-Id: Ifd9f1b92dbb67dc35568ece9efc550db0abdbd78
parent b2c0a717
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;
    }

    /**