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

Commit 3db77964 authored by Alan Viverette's avatar Alan Viverette
Browse files

Use correct condition for killing background processes

Bug: 26881641
Change-Id: Iccb0f48497e5a2023543d73b5c2067e5edaf717e
parent 0a1abd32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5337,7 +5337,8 @@ public final class ActivityManagerService extends ActivityManagerNative
                            // We don't kill persistent processes.
                            continue;
                        }
                        if (targetSdkVersion > 0 && app.info.targetSdkVersion < targetSdkVersion) {
                        if (targetSdkVersion > 0
                                && app.info.targetSdkVersion >= targetSdkVersion) {
                            continue;
                        }
                        if (app.removed) {