commit | 4db7bd28e76897a97a848adfd1051904492bf400 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Mon Jan 06 11:24:34 2020 -0500 |
committer | Derek Sollenberger <djsollen@google.com> | Mon Feb 10 20:05:31 2020 +0000 |
tree | 695868c9067d322940483117de0d8d2c0f86ecce | |
parent | 929de647969cf5efa1778fe4b54ee968bff4d613 [diff] |
Consolidate AssetManager calls in Font/FontFamily The Font/FontFamily classes use private API calls in native code to get the contents of an Asset. These calls need to be made on public APIs in order to isolate the graphics module from the rest of the system. Public Java APIs already exist so this CL refactors the code to use those methods. Test: CtsTextTestCases Bug: 147136234 Change-Id: I35a6558b597684e59279d7a841669c5f909d5152