diff options
author | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-19 13:44:17 +0200 |
---|---|---|
committer | Dominik Schürmann <dominik@dominikschuermann.de> | 2014-09-19 13:44:17 +0200 |
commit | 1ad36e2dbdd7f6e6d6c68723fe82512dd6c01371 (patch) | |
tree | 1ad0c14bcb920bde99b038592631551abf7a666e /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java | |
parent | 99bf77dd8435932fcd039964fec3f00d4d2544c0 (diff) | |
download | open-keychain-1ad36e2dbdd7f6e6d6c68723fe82512dd6c01371.tar.gz open-keychain-1ad36e2dbdd7f6e6d6c68723fe82512dd6c01371.tar.bz2 open-keychain-1ad36e2dbdd7f6e6d6c68723fe82512dd6c01371.zip |
Beautify key id (thanks to Tim Bray)
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java index 99ceeb929..b377e2cc9 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/adapter/SubkeysAdapter.java @@ -145,8 +145,7 @@ public class SubkeysAdapter extends CursorAdapter { deleteImage.setVisibility(View.GONE); long keyId = cursor.getLong(INDEX_KEY_ID); - String keyIdStr = KeyFormattingUtils.convertKeyIdToHex(keyId); - vKeyId.setText(keyIdStr); + vKeyId.setText(KeyFormattingUtils.beautifyKeyId(keyId)); // may be set with additional "stripped" later on SpannableStringBuilder algorithmStr = new SpannableStringBuilder(); |