Loading services/core/java/com/android/server/am/ActivityManagerService.java +8 −5 Original line number Diff line number Diff line Loading @@ -5508,17 +5508,20 @@ public final class ActivityManagerService extends ActivityManagerNative if (app.isolated) { mBatteryStatsService.removeIsolatedUid(app.uid, app.info.uid); } app.kill(reason, true); handleAppDiedLocked(app, true, allowRestart); removeLruProcessLocked(app); boolean willRestart = false; if (app.persistent && !app.isolated) { if (!callerWillRestart) { addAppLocked(app.info, false, null /* ABI override */); willRestart = true; } else { needRestart = true; } } app.kill(reason, true); handleAppDiedLocked(app, willRestart, allowRestart); if (willRestart) { removeLruProcessLocked(app); addAppLocked(app.info, false, null /* ABI override */); } } else { mRemovedProcesses.add(app); } Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +8 −5 Original line number Diff line number Diff line Loading @@ -5508,17 +5508,20 @@ public final class ActivityManagerService extends ActivityManagerNative if (app.isolated) { mBatteryStatsService.removeIsolatedUid(app.uid, app.info.uid); } app.kill(reason, true); handleAppDiedLocked(app, true, allowRestart); removeLruProcessLocked(app); boolean willRestart = false; if (app.persistent && !app.isolated) { if (!callerWillRestart) { addAppLocked(app.info, false, null /* ABI override */); willRestart = true; } else { needRestart = true; } } app.kill(reason, true); handleAppDiedLocked(app, willRestart, allowRestart); if (willRestart) { removeLruProcessLocked(app); addAppLocked(app.info, false, null /* ABI override */); } } else { mRemovedProcesses.add(app); } Loading