mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 04:22:18 -05:00
More nullpointer fixes
This commit is contained in:
parent
e91dc022fb
commit
f3870cee29
@ -156,7 +156,7 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void showDropDown() {
|
public void showDropDown() {
|
||||||
if (mAdapter == null || mAdapter.getCursor().isClosed()) {
|
if (mAdapter == null || mAdapter.getCursor() == null || mAdapter.getCursor().isClosed()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
super.showDropDown();
|
super.showDropDown();
|
||||||
|
Loading…
Reference in New Issue
Block a user