aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs')
-rw-r--r--src/eu/siacs/conversations/ui/ContactDetailsActivity.java4
-rw-r--r--src/eu/siacs/conversations/ui/ConversationActivity.java1
2 files changed, 2 insertions, 3 deletions
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;