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
Loading
Please register or sign in to comment