diff options
author | Michael <betheg@bitcloner.org> | 2014-09-13 21:15:45 +0200 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-09-13 21:15:45 +0200 |
commit | b9e7f4870ca94e70c1072a9f3d28419184090471 (patch) | |
tree | 706701a87ca35cf8958baf3351b9fdf6d20b6611 /src/eu/siacs/conversations/ui | |
parent | 2127fcb90285028c056670cace7534bb9588c32b (diff) |
add a forgotten break and remove some unused imports
Diffstat (limited to 'src/eu/siacs/conversations/ui')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationActivity.java | 1 | ||||
-rw-r--r-- | src/eu/siacs/conversations/ui/SettingsActivity.java | 1 | ||||
-rw-r--r-- | src/eu/siacs/conversations/ui/adapter/MessageAdapter.java | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationActivity.java b/src/eu/siacs/conversations/ui/ConversationActivity.java index 40ad0f33..f58b4ddd 100644 --- a/src/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/eu/siacs/conversations/ui/ConversationActivity.java @@ -16,7 +16,6 @@ import eu.siacs.conversations.utils.UIHelper; import android.net.Uri; import android.os.Bundle; import android.os.SystemClock; -import android.preference.PreferenceManager; import android.provider.MediaStore; import android.app.ActionBar; import android.app.AlertDialog; diff --git a/src/eu/siacs/conversations/ui/SettingsActivity.java b/src/eu/siacs/conversations/ui/SettingsActivity.java index 6b280719..c522e058 100644 --- a/src/eu/siacs/conversations/ui/SettingsActivity.java +++ b/src/eu/siacs/conversations/ui/SettingsActivity.java @@ -2,7 +2,6 @@ package eu.siacs.conversations.ui; import java.util.Locale; -import eu.siacs.conversations.R; import eu.siacs.conversations.entities.Account; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; diff --git a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java index db01eabe..876fbfe7 100644 --- a/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java +++ b/src/eu/siacs/conversations/ui/adapter/MessageAdapter.java @@ -11,7 +11,6 @@ import eu.siacs.conversations.entities.Downloadable; import eu.siacs.conversations.entities.Message; import eu.siacs.conversations.ui.ConversationActivity; import eu.siacs.conversations.utils.UIHelper; -import eu.siacs.conversations.xmpp.jingle.JingleConnection; import android.content.Context; import android.content.Intent; import android.graphics.Bitmap; @@ -129,6 +128,7 @@ public class MessageAdapter extends ArrayAdapter<Message> { case Message.STATUS_RECEPTION_FAILED: info = getContext().getString(R.string.reception_failed); error = true; + break; default: if (multiReceived) { Contact contact = message.getContact(); |