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

Commit cd2a3ea5 authored by Jeff Brown's avatar Jeff Brown Committed by Android (Google) Code Review
Browse files

Merge "Don't reuse StringBuilder outside of lock when dumping ANR."

parents 592647ee deb6ed8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3181,7 +3181,7 @@ public final class ActivityManagerService extends ActivityManagerNative
        }
        // Log the ANR to the main log.
        StringBuilder info = mStringBuilder;
        StringBuilder info = new StringBuilder();
        info.setLength(0);
        info.append("ANR in ").append(app.processName);
        if (activity != null && activity.shortComponentName != null) {