Messaging app crashes after a few MMS
In some scenarios, data not bound when SIM state change local broadcasts are received. See stacktrace for more info. Protect against/skip call to update() in such scenarios. Test: m Change-Id: Iee7775a74d22808cb262e8973ca70e5e1f0acfc9 Bug-Id: CYNGNOS-3062, KIPPER-718
This commit is contained in:
@@ -191,7 +191,8 @@ public class ConversationFragment extends Fragment implements ConversationDataLi
|
||||
intent.getStringExtra(UIIntents.UI_INTENT_EXTRA_CONVERSATION_SELF_ID);
|
||||
Assert.notNull(conversationId);
|
||||
Assert.notNull(selfId);
|
||||
if (TextUtils.equals(mBinding.getData().getConversationId(), conversationId)) {
|
||||
if (isBound() && TextUtils
|
||||
.equals(mBinding.getData().getConversationId(), conversationId)) {
|
||||
mComposeMessageView.updateConversationSelfIdOnExternalChange(selfId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user