Any way to force an activity to destroy right away but also remain on the stack?
<p>I have a preference activity that allows the user to modify skinning options. If the user modifies the skinning options, I need to reload the activity (call startActivity() with the current intent followed by finish() ) so that the drawables are properly reloaded.</p>

<p>It would be much easier, and much more reliable, if I could force the current activity to get destroyed rather than paused whenever the preference activity starts.</p>

<p>Any ideas how I can achieve this?</p>

<p>Update for clarity:</p>

<p>CURRENT BEHAVIOR:
<code><pre>
1. Activity A starts
2. User selects Settings command
3. Preference Activity starts
4. Activity A is paused
5. User changes preferences
6. Preference Activity is paused and destroyed
7. Activity A is unpaused
8. Activity A must check if preferences were changed
   - If yes, call startActivity() to start itself 
     again and call finish(). This will reload everything
     correctly
</code></pre></p>

<p>DESIRED BEHAVIOR (diff in <strong>BOLD</strong>):
<code><pre>
1. Activity A starts
2. User selects Settings command
3. Preference Activity starts
4. Activity A is paused <strong>AND DESTROYED</strong>
5. User changes preferences
6. Preference Activity is paused and destroyed
7. Activity A <strong>STARTS AGAIN FRESH</strong>
</code></pre></p>

<p>Cheers,
swine</p>
