diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-03-16 18:38:50 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-03-16 18:38:50 -0700 |
commit | 5cd7d7f7a4525d8c277f307ccc79dbde3af3fa08 (patch) | |
tree | a1021654379907592ae72525e6c9001ba256f460 /docs/html/sdk/api_diff/22/changes | |
parent | 538d5a3d079aa60a6cf84befdda301469ab0b6a5 (diff) |
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
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions