commit | d134b8927652aab23ff311fe85594b9e1507a0b7 | [log] [tgz] |
---|---|---|
author | Clara Bayarri <clarabayarri@google.com> | Fri Mar 03 18:13:28 2017 +0000 |
committer | Clara Bayarri <clarabayarri@google.com> | Fri Mar 03 18:13:28 2017 +0000 |
tree | 05f37a5033325dcebd604b637402d2b550d36a31 | |
parent | b01d3db74229b74e533a500dfe3ae58d78dbb65e [diff] |
Ignore non-font resource references in TextView constructor TextView was blowing up in its constructor when fontFamily was set in xml to a reference that was not a font, e.g. @style/mystyle. These values should be ignored as they are not valid, but we don't want to crash the app for it either. Bug: 35863153 Test: See topic run cts -m CtsWidgetTestCases -t android.widget.cts.TextViewTest#testFontResources_setInXmlStyle Change-Id: I5d9443e70a36122d312c3a9f2c0dcffb530dbca8