Skip to content

Commit a4e2ec6

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix Issue 26574: Service's onStartCommand receiving incorrect flag..." into jb-dev
2 parents 1374070 + d8f1024 commit a4e2ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/am/ActivityManagerService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11057,7 +11057,7 @@ private final void sendServiceArgsLocked(ServiceRecord r,
1105711057
updateOomAdjLocked(r.app);
1105811058
}
1105911059
int flags = 0;
11060-
if (si.deliveryCount > 0) {
11060+
if (si.deliveryCount > 1) {
1106111061
flags |= Service.START_FLAG_RETRY;
1106211062
}
1106311063
if (si.doneExecutingCount > 0) {

0 commit comments

Comments
 (0)