diff options
author | Seigo Nonaka <nona@google.com> | 2017-04-25 21:06:37 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-04-25 21:19:22 -0700 |
commit | d9de8be233d18ccc881cb647a5de2b32ff3e737c (patch) | |
tree | cc8cc9b4901ee27bea703ab8b0545761b158dde2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 6fba10b037021a133828f3eb68f3621140bc0f65 (diff) |
Load font file from remote provider synchronously.
Since CancellationSignal is not guaranteed to be handled by remote
process, introduce threaded font loading mechanism.
At the same time, this fixes possible NPE issue in openFont.
Bug: 37552479
Test: am instrument -w -e class android.provider.FontsContractE2ETest
com.android.frameworks.coretests/\
android.support.test.runner.AndroidJUnitRunner
Change-Id: Ie235c5a57bd172b0882da5aa27a990d7c6686ff2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions