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
1 changed files with 1 additions and 1 deletions

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()