This commit is contained in:
Daniel Gultsch 2014-03-11 02:52:41 +01:00
parent 05694b4c06
commit e441005c87
2 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ package eu.siacs.conversations.ui;
import java.math.BigInteger; import java.math.BigInteger;
import java.util.Iterator; import java.util.Iterator;
import java.util.zip.Inflater; import java.util.Locale;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.content.Context; import android.content.Context;
@ -244,7 +244,7 @@ public class ContactDetailsActivity extends XmppActivity {
keyType.setText("PGP Key ID"); keyType.setText("PGP Key ID");
BigInteger bi = new BigInteger("" + contact.getPgpKeyId()); BigInteger bi = new BigInteger("" + contact.getPgpKeyId());
StringBuilder builder = new StringBuilder(bi.toString(16) StringBuilder builder = new StringBuilder(bi.toString(16)
.toUpperCase()); .toUpperCase(Locale.US));
builder.insert(8, " "); builder.insert(8, " ");
key.setText(builder.toString()); key.setText(builder.toString());
keys.addView(view); keys.addView(view);

View File

@ -15,7 +15,6 @@ import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.app.FragmentTransaction; import android.app.FragmentTransaction;
import android.app.NotificationManager;
import android.content.Context; import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;