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

Commit f40149ff authored by Andreas Gampe's avatar Andreas Gampe Committed by Gerrit Code Review
Browse files

Merge "Frameworks/base: Fix null-pointer access"

parents 0cdf4e11 0d829e45
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3399,10 +3399,11 @@ public final class ProcessStats implements Parcelable {
                            + pkgList.keyAt(index) + "/" + proc.mUid
                            + " for multi-proc " + proc.mName + " version " + proc.mVersion);
                }
                String savedName = proc.mName;
                proc = pkg.mProcesses.get(proc.mName);
                if (proc == null) {
                    throw new IllegalStateException("Didn't create per-package process "
                            + proc.mName + " in pkg " + pkg.mPackageName + "/" + pkg.mUid);
                            + savedName + " in pkg " + pkg.mPackageName + "/" + pkg.mUid);
                }
                holder.state = proc;
            }