commit | eb9689bf8aee71f16fbe22a2c90d25628dd431ec | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Dec 10 09:46:53 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Mon Dec 10 09:46:53 2012 -0800 |
tree | c60df4788b222d27e72598d7cdee54ec95b99ec5 | |
parent | 84ed710fdfadd7dcdc11f8c3cd1bce19730a54b1 [diff] |
Protect broken code against native crashes. It doesn't make any sense to access Matcher or BreakIterator concurrently from multiple threads, but we shouldn't crash in native code. Bug: http://code.google.com/p/android/issues/detail?id=41143 Change-Id: I5d0ed97be50ffb7c6cc281ac6293cf82f17e7b80