commit | 0b73a4287e8f630c45bf7ef0a7e0b2541d6b4067 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Apr 11 15:59:58 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Thu Apr 13 06:48:07 2017 -0700 |
tree | 67f6a364895f35813f64a65124d8f029f26869ac | |
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