commit | d9de8be233d18ccc881cb647a5de2b32ff3e737c | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Apr 25 21:06:37 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Tue Apr 25 21:19:22 2017 -0700 |
tree | cc8cc9b4901ee27bea703ab8b0545761b158dde2 | |
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