Can't retrieve sharedPreference when activity is resumed from history on Samsung Galaxy S 2.2.1
<p>Have a user who just updated to 2.2.1 on his Galaxy S.  Now, when he hits HOME and then relaunches the app, I can see in the logs that the application context is re-initialized and a new process ID is created (verified via log messages in onCreate() in my application instance.)</p>

<p>The odd thing is that when it is relaunched from history, my shared preferences where I store important state are no longer available and all requests to context.getSharedPreferences(PREFS_FILE, Mode.WORLD_PRIVATE).getString() return NULL which ultimately leads to a force-close.</p>

<p>After re-launching the app again, everything works as expected and the sharedPreferences are again available.</p>

<p>I've only noticed this on the Samsung Galaxy S after he upgraded to 2.2.1.</p>

<p>The odd thing I'm curious about is the fact that it appears a new process is launched when returning to the app.</p>

<p>Has anyone else seen this behavior?  Perhaps I'm doing something wrong?</p>

<p>I've read a little about task re-parenting, etc, from <a href="http://developer.android.com/guide/topics/manifest/activity-element.html#proc" rel="nofollow">http://developer.android.com/guide/topics/manifest/activity-element.html#proc</a>, but not sure any options would really help here?</p>
