title: App restarts rather than resumes
body: <p>Hopefully someone can help me figure out, if not a solution, at least an explanation for a behaviour.</p>
  
  <p><strong>The Problem:</strong></p>
  
  <p><em>On some devices, pressing the launcher icon results in the current task being resumed, on others it results in the initial launch intent being fired (effectively restarting the app). Why does this happen?</em> </p>
  
  <p><strong>The Detail:</strong></p>
  
  <p>When you press the "Launcher Icon" the app starts normally - That is, I assume, an Intent is launched with the name of your first <code>Activity</code> with the action <code>android.intent.action.MAIN</code> and the category <code>android.intent.category.LAUNCHER</code>. This can't always be the case however:</p>
  
  <p>On the majority of devices, if you press the launcher icon after the app is already running, the currently running Activity in that process is resumed (<strong>NOT</strong> the initial <code>Activity</code>). It resumes in the same way as if you had selected it from the "Recent Tasks" in the OS menu. This is the behaviour I want on <em>all</em> devices.</p>
  
  <p>However, on selected other devices different behaviour occurs:</p>
  
  <ul>
  <li><p>On the Motorola Xoom, when you press the launcher icon, the App will <em>always</em> start the initial launch <code>Activity</code> regardless of what is currently running. I assume that the launcher icons always start the "LAUNCHER" intent.</p></li>
  <li><p>On the Samsung Tab 2, when you press the launcher icon, if you have just installed the app, it will always launch the initial <code>Activity</code> (Same as the Xoom) - however, after you restart the device after the install, the launcher icon will instead resume the app. I assume that these devices add "installed apps" into a lookup table on device startup which allow the launcher icons to correctly resume running tasks?</p></li>
  </ul>
  
  <p>I've read many answer that <em>sound</em> similar to my problem  but simply adding <code>android:alwaysRetainTaskState="true"</code> or using <code>launchMode="singleTop"</code> to the <code>Activity</code> are not the answer.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>After the most recent launch of this app, we find that this behaviour has begun to occur on <em>all</em> devices after the first restart. Which seems crazy to me but looking through the restart process, I can't actually find what's going wrong.</p>