startActivityForResult calling window killed before result returned
<p>I have a launcher app that is attempting to add widgets. Most work fine, but if you have a configure screen, the widget is never added. The launcher calls </p>

<pre><code>REQUEST_PICK_APPWIDGET = 9
Intent pickIntent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);
pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
startActivityForResult(pickIntent, REQUEST_PICK_APPWIDGET);
</code></pre>

<p>and the configure activity is launched, but as its coming up i see this in the lolcat</p>

<pre><code>W/WindowManager( 2096): Rebuild removed 7 windows but added 6
    W/WindowManager( 2096): This window was lost: Window{42abf130 com.android.settings/com.android.settings.AppWidgetPickActivity paused=false}
</code></pre>

<p>The configure finishes and nothing happens because the appwidgetpicker is already dead.</p>

<p>The launcher never actually crashes, theres never anything bad that happens, just nothing happens. Its not the app itself that is crashing, its the systemappwindgetpicker afaik.</p>
