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:
parent
ba95150a31
commit
02aad5945a
@ -353,7 +353,7 @@ public class FolderList extends K9ListActivity
|
|||||||
|
|
||||||
@Override public Object onRetainNonConfigurationInstance()
|
@Override public Object onRetainNonConfigurationInstance()
|
||||||
{
|
{
|
||||||
return mAdapter.mFolders;
|
return (mAdapter == null) ? null : mAdapter.mFolders;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override public void onPause()
|
@Override public void onPause()
|
||||||
|
Loading…
Reference in New Issue
Block a user