title: onRestart method is not called after returning
body: <p>My <code>MainActivity</code> has a <code>Button</code> that when it is pressed this method is called:</p>
  
  <pre><code> public void sendMessage(View view) {
      //Do something in response to the button
      Intent intent = new Intent(this, DisplayMessageActivity.class);
      EditText editText = (EditText)findViewById(R.id.edit_message);
      String message = editText.getText().toString();
      intent.putExtra(EXTRA_MESSAGE, message);
      startActivity(intent);
  }
  </code></pre>
  
  <p>So the app displays <code>DisplayMessageActivity</code>, then ActionBar is pressed to return to the <code>MainActivity</code>. And I have a <code>onRestart</code> which I think should be called when returning to the <code>MainActivity</code> (it does return to <code>MainActivity</code>), but it is not called. What seems to be the problem?</p>
  
  <p><code>onRestart</code> method:</p>
  
  <pre><code>@Override
  protected void onRestart() {
      super.onRestart();
      TextView textView = new TextView(this);
      textView.setTextSize(40);
      textView.setText(str);
      setContentView(textView);
  }
  </code></pre>