summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2011-02-02 14:44:49 -0800
committerJaikumar Ganesh <jaikumar@google.com>2011-02-03 17:02:06 -0800
commit50b40cec9c43eeeb9389ba2a99bcffd160246132 (patch)
treef7447c4b8b244ca68338c74509d13c62e2ecf4e3 /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent4eb02a13b33a868ac323d3079cea663f50fbbddb (diff)
Wait till SDP records are registered before sending intent.
Wait till all SDP records are registered, before sending STATE_ON intent. This would fix crashes in Settings app when the profile manager is not registered. Problem: We were sending Bluetooth State on intent before we got the uuid state change intent from Bluez, which is asynchronous. Hence when the Settings app queries for the profiles to decide if headset profile was registered it would get false and the profile manager would be null causing crashes. This was not 100 % reproducible, well because it was a race condition. Change-Id: I791eb63dfbc78aba4c06fd8db933069cb5fde00d
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions