title: How android service will redeliver intents after calling stopself
body: <p>I'm trying to understand how the service will behave when onStartCommand will return START_REDELIVER_INTENT.</p>
  
  <p>If we assume that from an activity we call the service several times. In onStartCommand we receive the intent and a startID. For example the following have been received:</p>
  
  <p><code>onStartCommand - intent A, startID = 1</code></p>
  
  <p><code>onStartCommand - intent B, startID = 2</code></p>
  
  <p><code>onStartCommand - intent C, startID = 3</code></p>
  
  <p><code>onStartCommand - intent D, startID = 4</code></p>
  
  <p><code>onStartCommand - intent E, startID = 5</code></p>
  
  <p>1) If I call the stopself(id=3) and the service is killed, will intents with startID 1, 2, 4 and 5 redelivered? or only the intents with id higher that the one given in the stopself are redelivered, i.e. 4 and 5?  </p>
  
  <p>2) If I call the stopself() does it mean that intents that have been scheduled for redelivery are cancelled?</p>
  
  <p>Any feedback is appreciated,</p>
  
  <p>Lupe.</p>