diff options
author | Vadim Lebedev <vadim@mbdsys.com> | 2014-05-02 19:05:43 +0200 |
---|---|---|
committer | Vadim Lebedev <vadim@mbdsys.com> | 2014-05-02 19:05:43 +0200 |
commit | 9726ac7a964dacc593cdb94a494182f61fd59c5b (patch) | |
tree | 19d6dcfba0c395279394206578cd4677851e9ac2 /OpenKeychain/src/main/java | |
parent | 8e645453b140d12981fbdcc34766315fe5f5e992 (diff) | |
download | open-keychain-9726ac7a964dacc593cdb94a494182f61fd59c5b.tar.gz open-keychain-9726ac7a964dacc593cdb94a494182f61fd59c5b.tar.bz2 open-keychain-9726ac7a964dacc593cdb94a494182f61fd59c5b.zip |
Avoid displaying double 0x before keyid in ViewCertActivity
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewCertActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewCertActivity.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewCertActivity.java index f740cfc22..645766287 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewCertActivity.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ViewCertActivity.java @@ -124,7 +124,7 @@ public class ViewCertActivity extends ActionBarActivity @Override public void onLoadFinished(Loader<Cursor> loader, Cursor data) { if (data.moveToFirst()) { - String signeeKey = "0x" + PgpKeyHelper.convertKeyIdToHex(data.getLong(INDEX_MASTER_KEY_ID)); + String signeeKey = PgpKeyHelper.convertKeyIdToHex(data.getLong(INDEX_MASTER_KEY_ID)); mSigneeKey.setText(signeeKey); String signeeUid = data.getString(INDEX_USER_ID); @@ -134,7 +134,7 @@ public class ViewCertActivity extends ActionBarActivity mCreation.setText(DateFormat.getDateFormat(getApplicationContext()).format(creationDate)); mSignerKeyId = data.getLong(INDEX_KEY_ID_CERTIFIER); - String signerKey = "0x" + PgpKeyHelper.convertKeyIdToHex(mSignerKeyId); + String signerKey = PgpKeyHelper.convertKeyIdToHex(mSignerKeyId); mSignerKey.setText(signerKey); String signerUid = data.getString(INDEX_SIGNER_UID); |