1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-12 22:28:10 -05:00

Added null pointer check.

See issue 2154
This commit is contained in:
cketti 2010-08-16 19:34:48 +00:00
parent ba95150a31
commit 02aad5945a

View File

@ -353,7 +353,7 @@ public class FolderList extends K9ListActivity
@Override public Object onRetainNonConfigurationInstance()
{
return mAdapter.mFolders;
return (mAdapter == null) ? null : mAdapter.mFolders;
}
@Override public void onPause()