diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-10 21:52:58 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-10 21:52:58 +0100 |
commit | a5de5060a92957b3f2ef6890e3784b5b684b886b (patch) | |
tree | d3d4863e3b18c702f2c1bdda47ed56bedd74ef02 /src/eu/siacs/conversations/ui/ConversationFragment.java | |
parent | baf0d6478750bb59e3f883fb7f814a92f27b8a29 (diff) |
another possible fix for notificationgate
Diffstat (limited to '')
-rw-r--r-- | src/eu/siacs/conversations/ui/ConversationFragment.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java index 2c84ffed..b49106f1 100644 --- a/src/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/eu/siacs/conversations/ui/ConversationFragment.java @@ -13,7 +13,6 @@ import net.java.otr4j.session.SessionStatus; import eu.siacs.conversations.R; import eu.siacs.conversations.crypto.PgpEngine.OpenPgpException; import eu.siacs.conversations.crypto.PgpEngine.UserInputRequiredException; -import eu.siacs.conversations.entities.Account; import eu.siacs.conversations.entities.Contact; import eu.siacs.conversations.entities.Conversation; import eu.siacs.conversations.entities.Message; @@ -24,8 +23,6 @@ import eu.siacs.conversations.utils.PhoneHelper; import eu.siacs.conversations.utils.UIHelper; import android.app.AlertDialog; import android.app.Fragment; -import android.app.NotificationManager; -import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentSender; @@ -40,10 +37,8 @@ import android.os.Bundle; import android.preference.PreferenceManager; import android.util.Log; import android.view.LayoutInflater; -import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; -import android.view.View.OnTouchListener; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.EditText; @@ -335,6 +330,7 @@ public class ConversationFragment extends Fragment { public void onBackendConnected() { final ConversationActivity activity = (ConversationActivity) getActivity(); + activity.registerListener(); this.conversation = activity.getSelectedConversation(); this.selfBitmap = findSelfPicture(); updateMessages(); |