commit | a5fa9e8a63e5764244b709f37bc4a54d2bb96890 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Thu May 04 16:39:28 2017 -0700 |
committer | Seigo Nonaka <nona@google.com> | Fri May 05 09:30:34 2017 -0700 |
tree | 12277c187fb8702a726afefeade90c41794f5194 | |
parent | abfa176b4566b81e20444e94dd97ee091f8cae98 [diff] |
Resolve styles by font table if not specified. android:fontStyle and android:fontWeight is an optional attribute. If they are missing, we are using non-italic 400 weight, but this is not good idea. We should resolve these style value from font metadata. Bug: 37988154 Test: am instrument -w -e class android.content.res.cts.ResourcesTest android.content.cts/android.support.test.runner.AndroidJUnitRunner Change-Id: I80a436cd3632d8c58fa3d8bdaedac73b95f61a8c