mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-13 06:28:20 -05:00
Fix NullPointerException in ImportKeysActivity
This commit is contained in:
parent
9288e4f0a9
commit
4aeacd5b51
@ -288,8 +288,10 @@ 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
|
||||||
|
if (mListFragment != null) {
|
||||||
mListFragment.destroyLoader();
|
mListFragment.destroyLoader();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onPageScrollStateChanged(int state) {
|
public void onPageScrollStateChanged(int state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user