Fix bug where onStartCommand() was never called with a null intent.
Also clean up some of the service java docs. Change-Id: I40e7d713e2393f7ee1db9822da8f07fb6304a9e4
This commit is contained in:
@@ -10208,7 +10208,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
|
||||
ServiceRecord.StartItem si = r.pendingStarts.get(i);
|
||||
if (DEBUG_SERVICE) Log.v(TAG, "Sending arguments to service: "
|
||||
+ r.name + " " + r.intent + " args=" + si.intent);
|
||||
if (si.intent == null && N > 0) {
|
||||
if (si.intent == null && N > 1) {
|
||||
// If somehow we got a dummy start at the front, then
|
||||
// just drop it here.
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user