More nullpointer fixes

This commit is contained in:
Dominik Schürmann 2015-05-01 14:44:40 +02:00
parent e91dc022fb
commit f3870cee29

View File

@ -156,7 +156,7 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView
@Override
public void showDropDown() {
if (mAdapter == null || mAdapter.getCursor().isClosed()) {
if (mAdapter == null || mAdapter.getCursor() == null || mAdapter.getCursor().isClosed()) {
return;
}
super.showDropDown();