From bae7b937b6cf6e7eb26d07bec95de38083923614 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 15 Jun 2015 16:06:14 -0700 Subject: Add play voicemail primary action to call log. + Add voicemail primary action button, which expands the call log and plays immediately when clicked. + Pass expand/collapse listener into the view holder. This is necessary because it needs to be triggered when the "play" primary action is clicked so that the CallLogAdapter correctly registers what has been added and binded. + Update primary action button state when showing or hiding actions, so the visibility of the voicemail play button is managed properly. + Ensure voicemail playback state is consistent between multiple call log items when the user initiates a collapse or expand. Add reset function to help manage this. + With the reset, protect against the possibility of functions in the presenter being called when no voicemail playback view is set. Bug: 21654755 Change-Id: I7bcf67d27fa08fe77d1334dc084b52effe8d3ccc --- res/drawable-mdpi/ic_play_arrow_24dp.png | Bin 0 -> 157 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 res/drawable-mdpi/ic_play_arrow_24dp.png (limited to 'res/drawable-mdpi') diff --git a/res/drawable-mdpi/ic_play_arrow_24dp.png b/res/drawable-mdpi/ic_play_arrow_24dp.png new file mode 100644 index 000000000..c61e948bb Binary files /dev/null and b/res/drawable-mdpi/ic_play_arrow_24dp.png differ -- cgit v1.2.3