onResume() not called second time an Activity is launched
<p>During the normal course of development, I noticed that a particular activity appears to have stopped responding the second time it is called.  </p>

<p>i.e. <code>menu-&gt;(intent)-&gt;activity-&gt;(back button)-&gt;menu-&gt;(intent)</code></p>

<p>There is nothing relevant in logcat.</p>

<p>I don't even know where to start debugging this nor what code to show so here are the <code>onClick</code> and <code>onResume</code> fragments:</p>

<pre><code> if (!dictionary.getClassName().equals("")) {

            this.setOnClickListener(new OnClickListener() {
                public void onClick(View v) {

                    Intent i;

                    i = new Intent(mContext, NVGlobeNavigatorVC.class);
                    i.putExtra("PAGE_TITLE", title);
                    i.putExtra("TITLE", _dictionary._title);

                    mContext.startActivity(i);

            });
        } else {
            findViewById(R.id.greaterthan).setVisibility(View.GONE);
        }
</code></pre>

<p>and in the Activity being launched:</p>

<pre><code>@Override
protected void onResume() {

    super.onResume();

    ...
</code></pre>

<p>Nothing unusual in manifest either:</p>

<pre><code>&lt;activity
    android:name=".NVViews.NVGlobeNavigatorVC"
    android:theme="@style/WindowTitleBackground"
    android:label="GlobeNavigator"/&gt;
</code></pre>

<p>For clarity, I put breakpoints on <code>mContext.startActivity(i)</code> and <code>super.onResume()</code>.  I click the view with the <code>onClickListener</code> and both breakpoints are hit as expected.  I then press the back button which returns me to the menu.  <code>onPause()</code> is called as expected.</p>

<p>I touch the view to launch the activity again, and the breakpoint on <code>startActivity</code> is hit but not in <code>onResume()</code> in the target activity.  The screen goes black and the only way I can get going again is to restart the app.  If I pause the debugger, it pauses in <code>dalvik.system.NativeStart()</code> which implies that the activity is never relaunched.</p>

<p>I don't think it's relevant, but I'm using Intellij IDEA and have deleted all of the output directories, invalidated the caches and done a full rebuild.</p>

<p>Target API is 8.  I've tested on 2.3 and 4.0.4.</p>

<p>Any ideas?  I'm stumped.</p>

<p>[EDIT]</p>

<p>In <code>onPause</code>, I save some stuff to prefs.  The purpose of <code>onResume()</code> is to get them back again:</p>

<pre><code>@Override
protected void onPause() {

   super.onPause();

   SCPrefs.setGlobeViewViewPoint(globeView.getViewPoint());
   SCPrefs.setGlobeViewZoom(globeView.getZoom());
   SCPrefs.setGlobeViewScale(globeView.getScale());

    }
</code></pre>
