OSDN Git Service

Fix deadlock in AudioService
authorJean-Michel Trivi <jmtrivi@google.com>
Thu, 25 Aug 2011 01:41:55 +0000 (18:41 -0700)
committerJean-Michel Trivi <jmtrivi@google.com>
Thu, 25 Aug 2011 02:08:48 +0000 (19:08 -0700)
commit3094d955b8321f01e50cb0c448ae1c4c461f41c9
tree347b624f7b46cb4425a1c810cb78cdcdedce6ef1
parent4b6df6a3dcbd9990e36438c529fa8c16b2580df9
Fix deadlock in AudioService

Locks related to audio focus and remote control should always be
 taken in the following order:
 1/ audio focus lock
 2/ remote control stack
 3/ current remote control client generation

Change-Id: If8be11bfef92849957e692b2bd52adbd67a2ef0b
media/java/android/media/AudioService.java