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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user