diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-04-10 14:26:26 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-04-10 14:26:26 -0700 |
commit | deb6ed8c2e63fcb2a189ce6e0338f13edcb7c783 (patch) | |
tree | 3bc613a13dda616f361d19fe35b7fa0595524e11 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 27fd3420ac0498ff5086f71023f443966541aa04 (diff) |
Don't reuse StringBuilder outside of lock when dumping ANR.
The ANR dumping code was reusing the shared StringBuilder while
not holding the ActivityManagerService lock. As a result, other
threads could sweep in and clobber the ANR information.
We don't want to hold the lock here, so just create a new StringBuilder.
Change-Id: I0d91af55f5c123102cfab2cd97035491efed59c0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions