mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
corrected possible null pointer
This commit is contained in:
parent
713f6ba6c7
commit
09cb00a87c
@ -217,7 +217,7 @@ public class ImportKeysListFragment extends ListFragment implements
|
||||
mLoaderState = new BytesLoaderState(bytes, dataUri);
|
||||
} else if (query != null) {
|
||||
Preferences.CloudSearchPrefs cloudSearchPrefs;
|
||||
if (keyserver != null) {
|
||||
if (keyserver == null) {
|
||||
cloudSearchPrefs = Preferences.getPreferences(getActivity()).getCloudSearchPrefs();
|
||||
} else {
|
||||
cloudSearchPrefs = new Preferences.CloudSearchPrefs(true, true, keyserver);
|
||||
|
Loading…
Reference in New Issue
Block a user