From 1fab0cca2259a7f8dd0b4349bc38f282eb4209a8 Mon Sep 17 00:00:00 2001 From: uabdullah Date: Mon, 11 Dec 2017 15:20:15 -0800 Subject: Play voicemails, update seekbar timer, allow seeking, and maintain state after recycling. This CL adds the support for playing voicemails, changing the play button to pause button when playing the voicemail, updating the seekbar and duration timer when the voicemail is being played. It also adds the support to preserve the state of the media player such that when scrolling and recycling views, when an expanded and playing voicemail is recycled back into view, it's most recent state is shown i.e the duration and the seekbar are upto date. Video: https://drive.google.com/open?id=1CKbLK5-1YDeXBZFiKvuTxoPuFJQ1rbj7 Test: Unit tests PiperOrigin-RevId: 178681663 Change-Id: Ifdd1d945572926bdc7d652aa7a876d3156fc21ce --- .../res/drawable/quantum_ic_pause_vd_theme_24.xml | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 assets/quantum/res/drawable/quantum_ic_pause_vd_theme_24.xml (limited to 'assets') diff --git a/assets/quantum/res/drawable/quantum_ic_pause_vd_theme_24.xml b/assets/quantum/res/drawable/quantum_ic_pause_vd_theme_24.xml new file mode 100644 index 000000000..b683a3b33 --- /dev/null +++ b/assets/quantum/res/drawable/quantum_ic_pause_vd_theme_24.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file -- cgit v1.2.3