OSDN Git Service

NotificationPlayer supports MediaPlayer errors
authorJean-Michel Trivi <jmtrivi@google.com>
Fri, 21 Aug 2015 00:37:50 +0000 (17:37 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Tue, 13 Oct 2015 23:00:52 +0000 (23:00 +0000)
commita2ed535c67a6c6fbe2ae4a086193ad68711e2129
tree1ee6609974d9c1870a3686c544d7149b936e369d
parent4673b259bc1b362fee206c7476c5fde3f53b4e20
NotificationPlayer supports MediaPlayer errors

If an error is reported while trying to play a notification,
 behave as if the playback had completed.

Bug 21093153

Change-Id: Iedc7691d0b8f4d68ad75cb04292a5d7d9350552f
(cherry picked from commit a25f6fcfed280136a16ce5800fcaabae17291dd7)
packages/SystemUI/src/com/android/systemui/media/NotificationPlayer.java