mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 16:38:50 -05:00
Fix nullpointer in first time activity
This commit is contained in:
parent
ccc1d2e006
commit
937c91eefa
@ -92,7 +92,9 @@ public class FirstTimeActivity extends ActionBarActivity {
|
|||||||
prefs.setFirstTime(false);
|
prefs.setFirstTime(false);
|
||||||
Intent intent = new Intent(this, KeyListActivity.class);
|
Intent intent = new Intent(this, KeyListActivity.class);
|
||||||
// give intent through to display notify
|
// give intent through to display notify
|
||||||
intent.putExtras(srcData);
|
if (srcData != null) {
|
||||||
|
intent.putExtras(srcData);
|
||||||
|
}
|
||||||
startActivityForResult(intent, 0);
|
startActivityForResult(intent, 0);
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user