Merge branch 'development' of github.com:open-keychain/open-keychain into development

This commit is contained in:
Dominik Schürmann 2015-01-19 17:25:36 +01:00
commit 3752cdd132
2 changed files with 9 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class FirstTimeActivity extends BaseActivity {
if (srcData != null) {
intent.putExtras(srcData);
}
startActivityForResult(intent, 0);
startActivity(intent);
finish();
}
@ -107,4 +107,5 @@ public class FirstTimeActivity extends BaseActivity {
public boolean onKeyDown(int keyCode, KeyEvent event) {
return keyCode == KeyEvent.KEYCODE_MENU || super.onKeyDown(keyCode, event);
}
}

View File

@ -64,6 +64,13 @@ public class KeyListActivity extends DrawerActivity {
mExportHelper = new ExportHelper(this);
Intent data = getIntent();
// If we got an EXTRA_RESULT in the intent, show the notification
if (data != null && data.hasExtra(OperationResult.EXTRA_RESULT)) {
OperationResult result = data.getParcelableExtra(OperationResult.EXTRA_RESULT);
result.createNotify(this).show();
}
// now setup navigation drawer in DrawerActivity...
activateDrawerNavigation(savedInstanceState);
}