commit | 36d6cd652aedff31ec30b61e59b0f37587eabd57 | [log] [tgz] |
---|---|---|
author | Likai Ding <likaid@codeaurora.org> | Thu Jan 28 09:08:09 2016 +0800 |
committer | Likai Ding <likaid@codeaurora.org> | Thu Jan 28 09:12:59 2016 +0800 |
tree | 60de4561fd5d97d47489dfc0cc136f694517b80f | |
parent | f2c9b62f8991c67d01e17feb684ccf809a6da2d0 [diff] |
Music: fix monkey test failure If media provider process doesn't behave correctly when setDataSource, the underlying state in MediaPlayer will not be transitioned properly, and the call will silently fail, causing subsequent prepare() throwing an IllegalStateException. Catch the exception to avoid monkey failure. Change-Id: I721d30366e2817ad00e3b8510307e1cb04fd136a CRs-Fixed: 964427