69b95fa2a55f773576522558e295347da85e3ddf
Bug: 159246162 Bug: 154358781 Test: PaintNativeInstanceTest.kt Although the android.graphics package makes no promises regarding thread-safety, it is not obvious to clients how they might call getNativeInstance from multiple threads. If one thread sets up a Paint, and then two threads use it, this sets up a race condition for setting up the native SkPaint. This seems to have been observed in internal apps. Put accesses and modifications to these native objects inside a synchronized block, so that we don't end up with a situation where two instances of mCleaner attempt to dereference the same native object. Add tests in PaintNativeInstanceTest.kt Change-Id: I10fa0958ea216bfbc79667c6217dd6570b3eb110
Merge "Make module stubs publicly visible" into rvc-dev am:
f1f700094c am: 960e855286 am: aa6f641af9 am: 2bef803567
Merge "Remove references to Dalvik logger." am:
385a775e73 am: 40ab1cf73c am: 75f6223c7c am: c96e8b2184 am: eb3069cddd
…
…
Merge "Use AutoValue from external/auto" into rvc-dev-plus-aosp am:
78de7c7cc7 am: 576af04c65 am: aa8f3f0904
…
Merge "Merge "Remove DERInteger usages" am:
1835a24839 am: 07e62d7649 am: 96bdc2d785 am: a96a45bedf" into rvc-qpr-dev-plus-aosp am: a4eb2e220c
…
…
…
…
…
…
Merge "Use jni_headers instead of JNI_H_INCLUDE" am:
75a5b44258 am: b842272135 am: 61ea9dd847 am: fe576af25a am: b90a8a87d9
…
…
Merge "Delete newFromCMT() and newFromCDS() from SmsMessage" am:
b599edc541 am: b403b0877d am: 5850cbdfad am: 57c6c1b17c am: 7c2a2c11a6
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%