title: Activity's onPause and onResume being called after starting, for no reason
body: <p>I have a very simple activity that logs a message whenever one of the lifecycle methods is called.</p>
  
  <p>This is my onCreate method:</p>
  
  <pre><code>@Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      LinearLayout ll = new LinearLayout(this);
      TextView tv = new TextView(this);
      tv.setText("HELP ME");
      ll.addView(tv);
      setContentView(ll);
      Log.i(TAG, "CREATE");
  }
  </code></pre>
  
  <p>And this is the resulting logcat without any user input:</p>
  
  <pre>
      07-23 16:14:12.057: I/sigh(12196): CREATE
      07-23 16:14:12.067: I/sigh(12196): START
      07-23 16:14:12.067: I/sigh(12196): RESUME
      <b>07-23 16:14:13.657: I/sigh(12196): PAUSE
      07-23 16:14:13.687: I/sigh(12196): RESUME
      07-23 16:14:14.167: I/sigh(12196): PAUSE
      07-23 16:14:14.177: I/sigh(12196): RESUME</b>
  </pre>
  
  <p>Why does my app pause and resume a few times after being launched?</p>
  
  <p>This behavior only occurs when I run it from Eclipse. Subsequently launches of the app from the phone itself do not exhibit the aberrant pause/resume. Does anyone have a clue as to what's happening?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Seems like it's only happening for my phone, a Nexus 5 running 4.4.4. Doesn't happen on Samsung GS3/5 and Nexus 4. Weird.</p>