mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 16:08:49 -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);
|
||||
Intent intent = new Intent(this, KeyListActivity.class);
|
||||
// give intent through to display notify
|
||||
intent.putExtras(srcData);
|
||||
if (srcData != null) {
|
||||
intent.putExtras(srcData);
|
||||
}
|
||||
startActivityForResult(intent, 0);
|
||||
finish();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user