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

Commit e5a17396 authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "Do not re-use dead shared isolated processes." into main

parents 42c67720 6b2f64df
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5845,7 +5845,7 @@ public final class ActiveServices {
            if (r.inSharedIsolatedProcess) {
                app = mAm.mProcessList.getSharedIsolatedProcess(procName, r.appInfo.uid,
                        r.appInfo.packageName);
                if (app != null) {
                if (app != null && !app.isKilled()) {
                    final IApplicationThread thread = app.getThread();
                    final int pid = app.getPid();
                    final UidRecord uidRecord = app.getUidRecord();
@@ -5870,6 +5870,8 @@ public final class ActiveServices {
                        // If a dead object exception was thrown -- fall through to
                        // restart the application.
                    }
                } else {
                    app = null;
                }
            } else {
                // If this service runs in an isolated process, then each time