summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-08-17 11:20:56 -0700
committerMichael Bestas <mikeioannina@gmail.com>2016-09-16 19:01:38 +0300
commit82f20a241d5098e1f412beb6e68f48bae904c4fb (patch)
treee7cd480ba53a3fc91c5f84829877862f3a4c863d
parent07301ab4a180a26780191af2c0f3f65dad461b3a (diff)
downloadandroid_packages_apps_Messaging-82f20a241d5098e1f412beb6e68f48bae904c4fb.tar.gz
android_packages_apps_Messaging-82f20a241d5098e1f412beb6e68f48bae904c4fb.tar.bz2
android_packages_apps_Messaging-82f20a241d5098e1f412beb6e68f48bae904c4fb.zip
Messaging: fix bad recycle on sending two mms in a row
When we are handling the add animation ourself, we need to call the dispatchAdd() to finish the operation so the recycler view can propely handle it. Ticket: CYNGNOS-3253 Change-Id: I7fe17e0f41446122f39bd99a394c3c51754724d3 Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r--src/com/android/messaging/ui/conversation/ConversationFragment.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/messaging/ui/conversation/ConversationFragment.java b/src/com/android/messaging/ui/conversation/ConversationFragment.java
index 71068b8..354431f 100644
--- a/src/com/android/messaging/ui/conversation/ConversationFragment.java
+++ b/src/com/android/messaging/ui/conversation/ConversationFragment.java
@@ -585,6 +585,7 @@ public class ConversationFragment extends Fragment implements ConversationDataLi
@Override
public void run() {
view.setAlpha(1);
+ dispatchAddFinished(holder);
}
});
mPopupTransitionAnimation.startAfterLayoutComplete();