Use correct condition for killing background processes
Bug: 26881641 Change-Id: Iccb0f48497e5a2023543d73b5c2067e5edaf717e
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user