Defer MessagingGroup#recycle until bind completes
There is a "race condition" where a MessagingGroup is recycled while the contents of that group are being used elsewhere in the ConversationLayout, namely in the "image message container" used to show the most recent image message in the collapsed state. This state isn't cleared until later in the bind() process, which unfortunately depends on the groups being updated. For that reason, we defer all synchronous calls to recycle() until the end of bind(), which will ensure that the old groups are still around as long as necessary. Fixes: 216202070 Test: manual Change-Id: Idef815d54690544615512bd2bd1006f172403e18 (cherry picked from commit 2a68270c)
Loading
Please register or sign in to comment