summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-11-14 20:55:25 -0800
committerMathias Agopian <mathias@google.com>2010-11-14 20:55:25 -0800
commitf33a6e9645517b9bcf7236bc6f2b7fe182a0137d (patch)
tree44cf038843fc171c35835cb9c5ee8c07d4c393ed /graphics/java/android/renderscript/ProgramFragment.java
parente2ef2c10e76a4648a27ce4c392eb7b9b3589b9f7 (diff)
Fix a race condition in sensormanager
the per-connection state assumed the main sensorservice lock was held during access. This is however not true while pre-processing the events just before sending them to clients. Therefore, there was a small window during which this state could be modified while being used. we now have an internal lock that protects this state. Change-Id: I594680f20f09d6a4f1f38f093a1d3f650dcef1be
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions