summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-06-30 19:41:56 -0700
committerandroid-build SharedAccount <android-build@sekiwake.mtv.corp.google.com>2010-07-01 16:34:14 -0700
commit00ccd5d026fcd0e4b9d27dc5a9ffa13ca0408449 (patch)
treea62e44ef39a63cacfa0f4f03aa3725468440078a /graphics/java/android/renderscript/ProgramStore.java
parent34c0b2ee11c237be5244eecc34814862b3003822 (diff)
Fix issue 2811538: System server crash when disconnecting BT headset after using SCO off call.
Problem: When the bluetooth device is removed, the AudioService clears all active SCO connections and unlinks from the client application's binder interface death. The problem is that the unlinking is done even if no more connections are active for a given client, which throws a runtime exception that is not catched causing the system server to crash. The fix consists in calling unlinkToDeath() in ScoClient.clearCount() only if the number of active SCO connections for this client is not 0. The NoSuchElementException exception is also catched when calling unlinkToDeath() Change-Id: I7086424301fc63a5666da61c38169349d3e078f4
Diffstat (limited to 'graphics/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions