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

Commit 18ecbf18 authored by T.J. Mercier's avatar T.J. Mercier Committed by Automerger Merge Worker
Browse files

Merge "Revert "Freeze all package processes before killing"" am: f19a97c2

parents c2cbdc70 f19a97c2
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -2897,15 +2897,6 @@ public final class ProcessList {
        }

        int N = procs.size();
        for (int i = 0; i < N; ++i) {
            final ProcessRecord proc = procs.get(i).first;
            try {
                Process.setProcessFrozen(proc.getPid(), proc.uid, true);
            } catch (Exception e) {
                Slog.w(TAG, "Unable to freeze " + proc.getPid() + " " + proc.processName);
            }
        }

        for (int i=0; i<N; i++) {
            final Pair<ProcessRecord, Boolean> proc = procs.get(i);
            removeProcessLocked(proc.first, callerWillRestart, allowRestart || proc.second,