Jean-Michel Trivi 5cd7d7f7a4 NotificationPlayer: fix error listener, sync in playback thread
The error and completion listeners should be set before
  MediaPlayer.prepare() is called, in case of an error
  during prepare.
Move the sleep to synchronize the playback of the notification
  and the ducking from the MediaPlayer to the playback thread.

Test: play a notification during media playback
Bug: 35855841
Change-Id: I42f01f485f533c1cc84b9d927f0dc594cdb7ec8f
2017-03-16 18:38:50 -07:00
2017-03-15 04:30:33 +00:00
2017-03-15 00:07:34 +09:00
2017-03-08 19:21:03 +00:00
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%