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

Commit a5d90cd2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in AppExitInfo statsd logging" into sc-dev

parents 7b32d782 9a03b116
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -879,7 +879,7 @@ public final class AppExitInfoTracker {
        if (TextUtils.equals(pkgName, processName)) {
            // Omit the process name here to save space
            processName = null;
        } else if (processName != null && processName.startsWith(pkgName)) {
        } else if (processName != null && pkgName != null && processName.startsWith(pkgName)) {
            // Strip the prefix to save space
            processName = processName.substring(pkgName.length());
        }