Skip to content

Commit d8f1024

Browse files
author
Dianne Hackborn
committed
Fix Issue 26574: Service's onStartCommand receiving incorrect flag...
...parameter for Intents Change-Id: I2e2332c87e008c7ad6a89e17ae3f732c78e376ef
1 parent 4a337ec commit d8f1024

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
@@ -11049,7 +11049,7 @@ private final void sendServiceArgsLocked(ServiceRecord r,
1104911049
updateOomAdjLocked(r.app);
1105011050
}
1105111051
int flags = 0;
11052-
if (si.deliveryCount > 0) {
11052+
if (si.deliveryCount > 1) {
1105311053
flags |= Service.START_FLAG_RETRY;
1105411054
}
1105511055
if (si.doneExecutingCount > 0) {

0 commit comments

Comments
 (0)