commit | 7aafa219855503a52acae4e0526a31b4177a835e | [log] [tgz] |
---|---|---|
author | Dongwon Kang <dwkang@google.com> | Fri Jan 11 11:08:24 2019 -0800 |
committer | Dongwon Kang <dwkang@google.com> | Tue Jan 15 11:48:26 2019 -0800 |
tree | 4d030f166d41069837fd7e2badacfaab33e44838 | |
parent | 83af7a3c9eb82028ff26561e58615cd34ca4ec8c [diff] |
Ensure that Thread(/*canCallJava*/ true) is attached to the VM. This is supposed to be done by runtime, but when libutils is dual-loaded with linker namespace, CreateThreadFunc should be initialized separately within the namespace since libutils keeps it in a global variable. Test: build & boot & atest MediaPlayer2Test Bug: 112766913 Change-Id: I23eac262c8b88178bf151d7c6ab49a48af932001