From 7920be0e17014c5f13ce29042876714f745b0bb3 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 27 May 2014 18:54:14 -0700 Subject: Set call log item view alpha to 1 after expand animation end. This bug is on the inexplicable side, but this seems like it fixes it. Without this, after navigating out of the activity and then back, it appears taht the the action view's alpha defaults back to the value being set at the start of the expand animation (0), making the view invisible. Bug: 15275605 Change-Id: I8173f305569e2e8f5e13f34235922b830dd4e532 --- src/com/android/dialer/calllog/CallLogFragment.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/android/dialer/calllog/CallLogFragment.java b/src/com/android/dialer/calllog/CallLogFragment.java index de0055085..ad86e240d 100644 --- a/src/com/android/dialer/calllog/CallLogFragment.java +++ b/src/com/android/dialer/calllog/CallLogFragment.java @@ -649,6 +649,11 @@ public class CallLogFragment extends ListFragment if (!isExpand) { viewHolder.actionsView.setVisibility(View.GONE); + } else { + // This seems like it should be unnecessary, but without this, after + // navigating out of the activity and then back, the action view alpha + // is defaulting to the value (0) at the start of the expand animation. + viewHolder.actionsView.setAlpha(1); } } -- cgit v1.2.3