summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-08-17 11:20:56 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-12-11 20:10:07 +0200
commit4c44582a9e6124a0413be24838a5b67bb4654784 (patch)
tree20aa66ea04c79577d1c014374808905d22484c24
parent7ee39be7e25e20c39f1602da62a766fe69382fc5 (diff)
downloadandroid_packages_apps_Messaging-4c44582a9e6124a0413be24838a5b67bb4654784.tar.gz
android_packages_apps_Messaging-4c44582a9e6124a0413be24838a5b67bb4654784.tar.bz2
android_packages_apps_Messaging-4c44582a9e6124a0413be24838a5b67bb4654784.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: Ia8755a1b10ac678c304ac7e1208336e11fbe7b77 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 722bb9c..5c97c1c 100644
--- a/src/com/android/messaging/ui/conversation/ConversationFragment.java
+++ b/src/com/android/messaging/ui/conversation/ConversationFragment.java
@@ -565,6 +565,7 @@ public class ConversationFragment extends Fragment implements ConversationDataLi
@Override
public void run() {
view.setAlpha(1);
+ dispatchAddFinished(holder);
}
});
mPopupTransitionAnimation.startAfterLayoutComplete();