From 267e9ebd056ec4973c4b37c38f949e863de4f24c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 2 Jun 2015 16:43:01 -0700 Subject: Move VM playback from details to call log. - Delete voicemail playback in the CallDetailActivity. + Add voicemail playback to the call log list items. + Move the VoicemailPlaybackPresenter to the CallLogFragment. + Fix some retaining state for both call log (expanded items), and preserve rotation/state functionality for voicemail playback. This included some changes to the Presenter logic. + Fix some tests. Bug: 21471763 Bug: 21170557 Change-Id: I30aae3a52c5bbf74a5075a9666343c337b1fc0df --- res/layout/call_detail.xml | 6 -- res/layout/call_log_list_item_actions.xml | 19 ++----- res/layout/playback_layout.xml | 92 ------------------------------- res/layout/voicemail_playback_layout.xml | 92 +++++++++++++++++++++++++++++++ 4 files changed, 97 insertions(+), 112 deletions(-) delete mode 100644 res/layout/playback_layout.xml create mode 100644 res/layout/voicemail_playback_layout.xml (limited to 'res/layout') diff --git a/res/layout/call_detail.xml b/res/layout/call_detail.xml index 5d1607edf..c07785159 100644 --- a/res/layout/call_detail.xml +++ b/res/layout/call_detail.xml @@ -87,12 +87,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/layout/voicemail_playback_layout.xml b/res/layout/voicemail_playback_layout.xml new file mode 100644 index 000000000..96feba648 --- /dev/null +++ b/res/layout/voicemail_playback_layout.xml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3