diff options
author | lookshe <github@lookshe.org> | 2016-03-20 02:29:46 +0100 |
---|---|---|
committer | lookshe <github@lookshe.org> | 2016-03-20 02:29:46 +0100 |
commit | ad8e8344c0c051dd22adf76df624dd16cabcea28 (patch) | |
tree | a8e5818ef393087eb406df9d26bef3b36caa3f75 /src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java | |
parent | 6de11f38eaeb758692e0690f7150556d46d1f674 (diff) | |
parent | fb00372269ab0ed9ed0fbc1bd502695ffc17dd1b (diff) |
Merge branch 'trz/rebase' (early part) into trz/rename
Diffstat (limited to 'src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java')
-rw-r--r-- | src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java b/src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java index 1546de27..e3e60e01 100644 --- a/src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java +++ b/src/main/java/de/thedevstack/conversationsplus/ui/ConversationActivity.java @@ -1545,9 +1545,14 @@ public class ConversationActivity extends XmppActivity protected void refreshUiReal() { updateConversationList(); if (conversationList.size() > 0) { + if (!this.mConversationFragment.isAdded()) { + Log.d(Config.LOGTAG,"fragment NOT added to activity. detached="+Boolean.toString(mConversationFragment.isDetached())); + } ConversationActivity.this.mConversationFragment.updateMessages(); updateActionBarTitle(); invalidateOptionsMenu(); + } else { + Log.d(Config.LOGTAG,"not updating conversations fragment because conversations list size was 0"); } } |