mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-26 00:48: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
|
@Override
|
||||||
public void onPageSelected(int position) {
|
public void onPageSelected(int position) {
|
||||||
// cancel loader and clear list
|
// cancel loader and clear list
|
||||||
mListFragment.destroyLoader();
|
if (mListFragment != null) {
|
||||||
|
mListFragment.destroyLoader();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user