Fix NPE
(cherry picked from commit 2352703186274721998f0369af259b7cc27fa214)
This commit is contained in:
parent
fc3ba1b6e2
commit
65619bd64d
1 changed files with 1 additions and 0 deletions
|
@ -4378,6 +4378,7 @@ public class ConversationFragment extends XmppFragment
|
|||
}
|
||||
storeNextMessage();
|
||||
updateChatMsgHint();
|
||||
if (activity == null) return;
|
||||
SharedPreferences p = PreferenceManager.getDefaultSharedPreferences(activity);
|
||||
final boolean prefScrollToBottom =
|
||||
p.getBoolean(
|
||||
|
|
Loading…
Reference in a new issue