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

Commit 5c424912 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

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

Change-Id: Idc91e482910eb4d6a9757f32b1c5a074c1b8ffaa
parents 9c5f5dbe 8b1a63d3
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();