mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-24 07:58:50 -05:00
delete correct cache entries (important for yubikey pins!)
This commit is contained in:
parent
61a6346f89
commit
bde58c6ff1
@ -411,9 +411,9 @@ public class PassphraseCacheService extends Service {
|
||||
|
||||
long referenceKeyId;
|
||||
if (Preferences.getPreferences(mContext).getPassphraseCacheSubs()) {
|
||||
referenceKeyId = intent.getLongExtra(EXTRA_KEY_ID, 0L);
|
||||
} else {
|
||||
referenceKeyId = intent.getLongExtra(EXTRA_SUBKEY_ID, 0L);
|
||||
} else {
|
||||
referenceKeyId = intent.getLongExtra(EXTRA_KEY_ID, 0L);
|
||||
}
|
||||
// Stop specific ttl alarm and
|
||||
am.cancel(buildIntent(this, referenceKeyId));
|
||||
|
Loading…
Reference in New Issue
Block a user