Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev

This commit is contained in:
Dianne Hackborn
2012-05-08 17:19:15 -07:00
committed by Android (Google) Code Review

View File

@@ -11057,7 +11057,7 @@ public final class ActivityManagerService extends ActivityManagerNative
updateOomAdjLocked(r.app);
}
int flags = 0;
if (si.deliveryCount > 0) {
if (si.deliveryCount > 1) {
flags |= Service.START_FLAG_RETRY;
}
if (si.doneExecutingCount > 0) {