cleanup
This commit is contained in:
parent
05694b4c06
commit
e441005c87
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue