Fix result passing

This commit is contained in:
Dominik Schürmann
2014-10-25 03:06:39 +02:00
parent e11df08ea1
commit d3e0e823e3
2 changed files with 1 additions and 2 deletions

View File

@@ -601,7 +601,7 @@ public class KeyListFragment extends LoaderFragment
if (holder.mMasterKeyId != null) { if (holder.mMasterKeyId != null) {
Intent safeSlingerIntent = new Intent(getActivity(), SafeSlingerActivity.class); Intent safeSlingerIntent = new Intent(getActivity(), SafeSlingerActivity.class);
safeSlingerIntent.putExtra(SafeSlingerActivity.EXTRA_MASTER_KEY_ID, holder.mMasterKeyId); safeSlingerIntent.putExtra(SafeSlingerActivity.EXTRA_MASTER_KEY_ID, holder.mMasterKeyId);
startActivity(safeSlingerIntent); startActivityForResult(safeSlingerIntent, 0);
} }
} }
}); });

View File

@@ -130,7 +130,6 @@ public class SafeSlingerActivity extends ActionBarActivity {
} }
private void startExchange(long masterKeyId, int number) { private void startExchange(long masterKeyId, int number) {
Log.d(Constants.TAG, "number: " + number);
// retrieve public key blob and start SafeSlinger // retrieve public key blob and start SafeSlinger
Uri uri = KeychainContract.KeyRingData.buildPublicKeyRingUri(masterKeyId); Uri uri = KeychainContract.KeyRingData.buildPublicKeyRingUri(masterKeyId);
try { try {