hand through result in CertifyFingerprintActivity

This commit is contained in:
Vincent Breitmoser 2015-02-27 23:09:17 +01:00
parent 80c159056d
commit 863f4e6ac1

View File

@ -83,8 +83,8 @@ public class CertifyFingerprintActivity extends BaseActivity {
protected void onActivityResult(int requestCode, int resultCode, Intent data) { protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// if a result has been returned, display a notify // if a result has been returned, display a notify
if (data != null && data.hasExtra(OperationResult.EXTRA_RESULT)) { if (data != null && data.hasExtra(OperationResult.EXTRA_RESULT)) {
OperationResult result = data.getParcelableExtra(OperationResult.EXTRA_RESULT); setResult(RESULT_OK, data);
result.createNotify(this).show(); finish();
} else { } else {
super.onActivityResult(requestCode, resultCode, data); super.onActivityResult(requestCode, resultCode, data);
} }