From 857135aab15fa079743391ea43a2ce835d34ea8b Mon Sep 17 00:00:00 2001 From: Rhodey Orbits Date: Thu, 26 Mar 2015 14:35:07 -0700 Subject: [PATCH] Fix media thumbnail view operation. An extreme edge case wasn't happening on the UI thread. Fixes #2800 Closes #2801 // FREEBIE --- src/org/thoughtcrime/securesms/ConversationItem.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/ConversationItem.java b/src/org/thoughtcrime/securesms/ConversationItem.java index a190c2b767..ad54a56634 100644 --- a/src/org/thoughtcrime/securesms/ConversationItem.java +++ b/src/org/thoughtcrime/securesms/ConversationItem.java @@ -612,7 +612,12 @@ public class ConversationItem extends LinearLayout { @Override public void onFailure(Throwable error) { Log.w(TAG, error); - mediaThumbnail.setVisibility(View.GONE); + handler.post(new Runnable() { + @Override + public void run() { + mediaThumbnail.hide(); + } + }); } }