diff options
author | Yorke Lee <yorkelee@google.com> | 2014-12-18 12:33:06 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2014-12-18 12:34:31 -0800 |
commit | 50206676fcd35f30ae81d45b0364056a764ad6e6 (patch) | |
tree | b50710743d3feaa0c8b5f166f00b2dfd20ad2172 | |
parent | e23b42bdfffcd959e184474ecd92a007c3d42ac8 (diff) |
Correctly set visibility of reused shortcut card
Bug: 18796407
Change-Id: Ib3001ac08e64b4efa04a2d9915abe2177475bbe1
-rw-r--r-- | src/com/android/dialer/list/ShortcutCardsAdapter.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |