d950ad034ceeec0024bc299b542d2b6154ac4dd3
This works around a bug in standalone (e.g. non-Zygote)
runtimes when a device is attached to a host that is running
DDM.
There is a race condition:
When the runtime receives a HELLO from DDM it calls
TextUtils.isEmpty().
Calling any TextUtils methods statically initializes
Layout. Layout has dependencies on other classes, which in
turn have dependencies on native methods that are not always
registered when the call takes place. Registration and DDM
handling are done in separate threads.
This is not a fix, merely a workaround until the race can
be resolved.
Bug: 18081539
(cherry-picked from commit d29bdb266d
)
Change-Id: Id0d8578eab9e59d479a7c1b2e7ea1890ac0c8de6
am
877ce2c4
: Merge "Make sure the bitmap from VD\'s cache is drawn using bi-linear filter." into lmp-dev
am
6a3faf5a
: Merge "Fix test framework to allow Mockito tests to run successfully on ART." into lmp-dev
…
Description
No description provided
Languages
Java
77.3%
Kotlin
9.2%
PowerBuilder
6.6%
C++
5.5%
AIDL
1%