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

Commit 547d8d63 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: I31c3e14ad4e95f511f5f126f9f5598bc77ab2341
parents f2cbb101 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());
        }