mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Merge pull request #460 from honnel/uri-for-sign
URI is transported in intents data not extra. #459
This commit is contained in:
commit
81624aa648
@ -1002,8 +1002,8 @@ public class EncryptActivity extends DrawerActivity {
|
||||
|
||||
case Id.request.secret_keys: {
|
||||
if (resultCode == RESULT_OK) {
|
||||
Bundle bundle = data.getExtras();
|
||||
mSecretKeyId = bundle.getLong(SelectSecretKeyActivity.RESULT_EXTRA_MASTER_KEY_ID);
|
||||
Uri uri_master_key = data.getData();
|
||||
mSecretKeyId = Long.valueOf(uri_master_key.getLastPathSegment());
|
||||
} else {
|
||||
mSecretKeyId = Id.key.none;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user