Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a4e2ec64db
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user