Use correct condition for killing background processes

Bug: 26881641
Change-Id: Iccb0f48497e5a2023543d73b5c2067e5edaf717e
This commit is contained in:
Alan Viverette
2016-02-04 14:53:00 -05:00
parent 0a1abd3247
commit 3db7796461

View File

@@ -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) {