Fix result passing
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user