summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorClara Bayarri <clarabayarri@google.com>2017-03-03 18:13:28 +0000
committerClara Bayarri <clarabayarri@google.com>2017-03-03 18:13:28 +0000
commitd134b8927652aab23ff311fe85594b9e1507a0b7 (patch)
tree05f37a5033325dcebd604b637402d2b550d36a31 /tools/aapt2/diff/Diff.cpp
parentb01d3db74229b74e533a500dfe3ae58d78dbb65e (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
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions