diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2017-02-07 10:47:31 -0800 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2017-02-07 10:47:31 -0800 |
commit | 10ffc783044afe038101c732edf336d5dcb9b51f (patch) | |
tree | db7d11d36bf71748e911591952273f29b68003b3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 49e57a2d9f1333edb74c80f2ccf6b59ca5ab353a (diff) |
Audio player delayed start: don't throw exception
When the framework sets a delayed start on a PlayerBase instance
(e.g. MediaPlayer or AudioTrack), catch the IllegalStateException
that can be thrown if the player's state has changed by the time
the actual start command gets executed.
Test: generate notifications played by NotificationPlayer
Bug 35019197
Change-Id: I51fd0305bc83b34e33fbcf9331f55627d32702f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions