From 50206676fcd35f30ae81d45b0364056a764ad6e6 Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 18 Dec 2014 12:33:06 -0800 Subject: Correctly set visibility of reused shortcut card Bug: 18796407 Change-Id: Ib3001ac08e64b4efa04a2d9915abe2177475bbe1 --- src/com/android/dialer/list/ShortcutCardsAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/dialer/list/ShortcutCardsAdapter.java b/src/com/android/dialer/list/ShortcutCardsAdapter.java index 78647882c..6410eabf6 100644 --- a/src/com/android/dialer/list/ShortcutCardsAdapter.java +++ b/src/com/android/dialer/list/ShortcutCardsAdapter.java @@ -202,6 +202,7 @@ public class ShortcutCardsAdapter extends BaseAdapter { wrapper.removeAllViews(); wrapper.prepareChildView(view); wrapper.addView(view); + wrapper.setVisibility(View.VISIBLE); return wrapper; } -- cgit v1.2.3