Fix nullpointer in EncryptKeyCompletionView
This commit is contained in:
1 parent
5ad50b99a2
commit
e91dc022fb
1 file changed
+1
-1
+1
-1
@@ -156,7 +156,7 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView
|
||||
|
||||
@Override
|
||||
public void showDropDown() {
|
||||
if (mAdapter.getCursor().isClosed()) {
|
||||
if (mAdapter == null || mAdapter.getCursor().isClosed()) {
|
||||
return;
|
||||
}
|
||||
super.showDropDown();
|
||||
|
||||
Reference in new issue
Block a user