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

Commit 1f343b5e authored by Chilun Huang's avatar Chilun Huang Committed by Android (Google) Code Review
Browse files

Merge "Revert "Avoid killing instrumentation process while start process""

parents dbb19d91 e2e69499
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -1614,13 +1614,6 @@ public final class ProcessList {
                app.addPackage(info.packageName, info.versionCode, mService.mProcessStats);
                checkSlow(startTime, "startProcess: done, added package to proc");
                return app;
            } else if (app.getActiveInstrumentation() != null) {
                // We don't want to kill running instrumentation.
                if (DEBUG_PROCESSES) {
                    Slog.v(TAG_PROCESSES, "Instrumentation already running: " + app);
                }
                checkSlow(startTime, "startProcess: keep instrumentation proc");
                return app;
            }

            // An application record is attached to a previous process,