mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
open ViewKeyActivity by subkey in NfcBaseActivity
This commit is contained in:
parent
cd0d84d10d
commit
bd8e45b556
@ -234,11 +234,12 @@ public abstract class BaseNfcActivity extends BaseActivity {
|
|||||||
final String nfcUserId = nfcGetUserId();
|
final String nfcUserId = nfcGetUserId();
|
||||||
final byte[] nfcAid = nfcGetAid();
|
final byte[] nfcAid = nfcGetAid();
|
||||||
|
|
||||||
final long masterKeyId = KeyFormattingUtils.getKeyIdFromFingerprint(nfcFingerprints);
|
final long subKeyId = KeyFormattingUtils.getKeyIdFromFingerprint(nfcFingerprints);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
CachedPublicKeyRing ring = new ProviderHelper(this).getCachedPublicKeyRing(masterKeyId);
|
CachedPublicKeyRing ring = new ProviderHelper(this).getCachedPublicKeyRing(
|
||||||
ring.getMasterKeyId();
|
KeyRings.buildUnifiedKeyRingsFindBySubkeyUri(subKeyId));
|
||||||
|
long masterKeyId = ring.getMasterKeyId();
|
||||||
|
|
||||||
Intent intent = new Intent(
|
Intent intent = new Intent(
|
||||||
BaseNfcActivity.this, ViewKeyActivity.class);
|
BaseNfcActivity.this, ViewKeyActivity.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user