summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-27 18:54:14 -0700
committerAndrew Lee <anwlee@google.com>2014-05-27 18:54:14 -0700
commit7920be0e17014c5f13ce29042876714f745b0bb3 (patch)
treef7497695be7f4f576e25d8da12263498c653b030
parent4d3540c5594f4330d46604dda1480bda707321ea (diff)
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
-rw-r--r--src/com/android/dialer/calllog/CallLogFragment.java5
1 files changed, 5 insertions, 0 deletions
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);
}
}