diff options
author | Seigo Nonaka <nona@google.com> | 2017-04-11 15:59:58 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2017-04-13 06:48:07 -0700 |
commit | 0b73a4287e8f630c45bf7ef0a7e0b2541d6b4067 (patch) | |
tree | 67f6a364895f35813f64a65124d8f029f26869ac /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 061db23b79b0f07b3b843e081420fbbcc606b451 (diff) |
Introduce FontsContract.requestFont and deprecate Typeface.create
Since background fetch should be synchronized with life cycle of
Activities, so should not create new background thread inside this
method. Not to break existing apps, mark as deprecated and will be
removed from public API untile next release.
New API accepts Handler so that the developer can pass their own thread
.
Test: TBD
Bug: 37253785
Change-Id: I87fdc6a354a829db679253824f42489f25698fa0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions