mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-31 07:00:24 -05:00
Merge pull request #1212 from adithyaphilip/qr-result
Corrected possible null pointer with key import
This commit is contained in:
commit
b0c87e2372
@ -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