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-hdpi/ic_play_arrow_24dp.png | Bin 0 -> 195 bytes res/drawable-mdpi/ic_play_arrow_24dp.png | Bin 0 -> 157 bytes res/drawable-xhdpi/ic_play_arrow_24dp.png | Bin 0 -> 220 bytes res/drawable-xxhdpi/ic_play_arrow_24dp.png | Bin 0 -> 283 bytes res/drawable-xxxhdpi/ic_play_arrow_24dp.png | Bin 0 -> 343 bytes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 res/drawable-hdpi/ic_play_arrow_24dp.png create mode 100644 res/drawable-mdpi/ic_play_arrow_24dp.png create mode 100644 res/drawable-xhdpi/ic_play_arrow_24dp.png create mode 100644 res/drawable-xxhdpi/ic_play_arrow_24dp.png create mode 100644 res/drawable-xxxhdpi/ic_play_arrow_24dp.png (limited to 'res') diff --git a/res/drawable-hdpi/ic_play_arrow_24dp.png b/res/drawable-hdpi/ic_play_arrow_24dp.png new file mode 100644 index 000000000..57c9fa546 Binary files /dev/null and b/res/drawable-hdpi/ic_play_arrow_24dp.png differ 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 diff --git a/res/drawable-xhdpi/ic_play_arrow_24dp.png b/res/drawable-xhdpi/ic_play_arrow_24dp.png new file mode 100644 index 000000000..a3c80e73d Binary files /dev/null and b/res/drawable-xhdpi/ic_play_arrow_24dp.png differ diff --git a/res/drawable-xxhdpi/ic_play_arrow_24dp.png b/res/drawable-xxhdpi/ic_play_arrow_24dp.png new file mode 100644 index 000000000..547ef30aa Binary files /dev/null and b/res/drawable-xxhdpi/ic_play_arrow_24dp.png differ diff --git a/res/drawable-xxxhdpi/ic_play_arrow_24dp.png b/res/drawable-xxxhdpi/ic_play_arrow_24dp.png new file mode 100644 index 000000000..be5c062b5 Binary files /dev/null and b/res/drawable-xxxhdpi/ic_play_arrow_24dp.png differ -- cgit v1.2.3