mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-13 20:35:10 -05:00
More nullpointer fixes
This commit is contained in:
parent
e91dc022fb
commit
f3870cee29
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user