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

Commit eb735920 authored by Jing Ji's avatar Jing Ji Committed by Automerger Merge Worker
Browse files

Merge "Skip noteAppKill if the attaching pid is unknown to us" into sc-dev am:...

Merge "Skip noteAppKill if the attaching pid is unknown to us" into sc-dev am: c1e65680 am: 8b1a63d3 am: 5c424912

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14676306

Change-Id: Ibd281d61155e188f986ca8c523d30a0956a6da5d
parents dfa64b73 5c424912
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4331,8 +4331,8 @@ public class ActivityManagerService extends IActivityManager.Stub
            if (pid > 0 && pid != MY_PID) {
                killProcessQuiet(pid);
                //TODO: killProcessGroup(app.info.uid, pid);
                mProcessList.noteAppKill(app, ApplicationExitInfo.REASON_INITIALIZATION_FAILURE,
                        ApplicationExitInfo.SUBREASON_UNKNOWN, "attach failed");
                // We can't log the app kill info for this process since we don't
                // know who it is, so just skip the logging.
            } else {
                try {
                    thread.scheduleExit();