commit | 2c2e54537ac18111e00cc1bd639eb6eda58466d7 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Mon Jan 07 15:16:46 2019 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Mon Jan 07 15:16:46 2019 -0800 |
tree | acd5f624550cfc5c9e5c163341b7c9dd9c33913a | |
parent | 2d0872155f036e42364fd65cb8936caab66f9734 [diff] |
Ensure null media player does not crash Telecom. If the media player could not be initialized, telecom can throw an NPE. Defensively catching this prevents a crash. In the bug there appears to be some issues with the audio subsystem. However, we shouldn't crash the device just because the end call tone could not play. Test: Manual. Bug: 122144736 Change-Id: Ifbfa72b0e4d103201a945d2776f5ca912a04fa1c