From e441005c8768091e9e975f3d5f797fab8466861b Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 11 Mar 2014 02:52:41 +0100 Subject: cleanup --- src/eu/siacs/conversations/ui/ContactDetailsActivity.java | 4 ++-- src/eu/siacs/conversations/ui/ConversationActivity.java | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/eu/siacs') diff --git a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java index e64339f7..46e5ab32 100644 --- a/src/eu/siacs/conversations/ui/ContactDetailsActivity.java +++ b/src/eu/siacs/conversations/ui/ContactDetailsActivity.java @@ -2,7 +2,7 @@ package eu.siacs.conversations.ui; import java.math.BigInteger; import java.util.Iterator; -import java.util.zip.Inflater; +import java.util.Locale; import android.app.AlertDialog; import android.content.Context; @@ -244,7 +244,7 @@ public class ContactDetailsActivity extends XmppActivity { keyType.setText("PGP Key ID"); BigInteger bi = new BigInteger("" + contact.getPgpKeyId()); StringBuilder builder = new StringBuilder(bi.toString(16) - .toUpperCase()); + .toUpperCase(Locale.US)); builder.insert(8, " "); key.setText(builder.toString()); keys.addView(view); diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 4b056dbb..86ba49b9 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -15,7 +15,6 @@ import android.net.Uri; import android.os.Bundle; import android.app.AlertDialog; import android.app.FragmentTransaction; -import android.app.NotificationManager; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; -- cgit v1.2.3