summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Birg <roman@cyngn.com>2016-08-17 11:20:56 -0700
committerJoey Rizzoli <joey@cyanogenmoditalia.it>2016-10-17 16:40:07 +0200
commitf9e627a8e0f1fe8dc414878cd0366c7c687e8619 (patch)
tree01558af897dd0af3bf016538c245ef7069c7514e
parent3fcc9ef93726db542f6f459403c53530282c1f5d (diff)
downloadandroid_packages_apps_Messaging-f9e627a8e0f1fe8dc414878cd0366c7c687e8619.tar.gz
android_packages_apps_Messaging-f9e627a8e0f1fe8dc414878cd0366c7c687e8619.tar.bz2
android_packages_apps_Messaging-f9e627a8e0f1fe8dc414878cd0366c7c687e8619.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 419ad5d..2631118 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();