mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -05:00
Fix NullPointerException in ImportKeysActivity
This commit is contained in:
parent
9288e4f0a9
commit
4aeacd5b51
@ -288,7 +288,9 @@ public class ImportKeysActivity extends ActionBarActivity {
|
||||
@Override
|
||||
public void onPageSelected(int position) {
|
||||
// cancel loader and clear list
|
||||
mListFragment.destroyLoader();
|
||||
if (mListFragment != null) {
|
||||
mListFragment.destroyLoader();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user