title: My onActivityResult() is never called
body: <p>I have 2 Activities, Parent Activity starts Child Activity. When we are in Child Activity, the User closes it via the "Up"-Button in the menu and is returned to Parent Activity.</p>
  
  <p>Essential code snippets:</p>
  
  <p><strong>Parent (Main) Activity:</strong></p>
  
  <pre class="lang-java prettyprint-override"><code>protected static final int TIMERCHOOSER_REQUEST = 1;
  </code></pre>
  
  <p>starting new Activity (called from a menu button):</p>
  
  <pre class="lang-java prettyprint-override"><code>private void openTimerChooser() {
          Intent intent = new Intent(this, TimerChooserActivity.class);
          startActivityForResult(intent,TIMERCHOOSER_REQUEST);
      }
  </code></pre>
  
  <p>and for fetching the result:</p>
  
  <pre class="lang-java prettyprint-override"><code>@Override
  protected void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode,resultCode,data);
  
      Log.d("Main", "called onActivityResult");  //this and below is never executed
      if (requestCode == TIMERCHOOSER_REQUEST) {
          switch(resultCode) {
              case RESULT_CANCELED:
                  Log.d("Main", "Intent result was canceled by TIMERCHOOSER");
              case RESULT_OK:
                  //code to handle data from TIMERCHOOSER_REQUEST
                  Log.d("Main", "accepted resultCode. value: "+resultCode);
                  String result = data.getStringExtra("result");
                  Toast toast = Toast.makeText(getApplicationContext(),result,Toast.LENGTH_SHORT);
                  toast.show();
              default:
                  Log.d("Main", "invalid/unhandled resultCode? value: "+resultCode);
          }
      }
      else
          Log.d("Main", "invalid/unhandled requestCode? value: "+requestCode);
  }
  </code></pre>
  
  <p><strong>Child Activity ("TimerChooserActivity"):</strong></p>
  
  <pre class="lang-java prettyprint-override"><code>@Override
  public boolean onOptionsItemSelected(MenuItem item) {
      // Handle action bar item clicks here. The action bar will
      // automatically handle clicks on the Home/Up button, so long
      // as you specify a parent activity in AndroidManifest.xml.
      int id = item.getItemId();
  
      switch(id) {
          case R.id.action_settings:
              return true;
          case android.R.id.home:
              Log.d("TimerChooser", "finishing intent");
              Intent returnIntent = new Intent();
              returnIntent.putExtra("result", "Some result");
              /*if(result == "User activated textview")
                  setResult(RESULT_OK,returnIntent);
              else
                  setResult(RESULT_CANCELED,returnIntent);*/
              setResult(RESULT_OK,returnIntent);
              finish();
          default:
              return super.onOptionsItemSelected(item);
      }
  }
  </code></pre>
  
  <p>You get back to the Parent(Maint) Activity via the home/up button in the menu / action bar. This works. But <code>onActivityResult()</code> is never called, no matter what kind of result I set.</p>
  
  <p>There's no weird tag in my manifest, too. Just standard stuff:</p>
  
  <pre><code>android:allowBackup
  android:icon
  android:label
  android:theme
  android:name
  android:parentActivityName
  android:value
  </code></pre>
  
  <p>What's going on?</p>