summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Narayan Kamath <narayan@google.com> 2014-01-06 11:31:35 +0000
committer Narayan Kamath <narayan@google.com> 2014-01-06 11:31:35 +0000
commit2ac3cb7aef7c8a51cbeb6d34b648dedcb4363994 (patch)
tree75fe6aeb98b9b1d5b0cfe43137083feffb4a76e9 /libs/hwui/ProgramCache.cpp
parentcccf2a333793badbcea9b04fe3f29447496a56d9 (diff)
Fix broken XML parsing idiom.
Code that expected a single top level element in an XML file was doing something like : while (type != START_TAG) { next(); } This would loop forever when the XML being parsed was empty, where each call to XmlPullParser.next() would return END_DOCUMENT. bug: https://code.google.com/p/android/issues/detail?id=64173 Change-Id: I7543203e976a8999ae471a6c2d629249a87011bb
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions