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

Commit e1bb3ca7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14492035

Change-Id: I2729b44a148aa33a4ae62cf814e7ea57564b285d
parents 5b55ead5 a5d90cd2
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());
        }