summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
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
commit10ffc783044afe038101c732edf336d5dcb9b51f (patch)
treedb7d11d36bf71748e911591952273f29b68003b3 /libs/androidfw/Util.cpp
parent49e57a2d9f1333edb74c80f2ccf6b59ca5ab353a (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 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions