diff options
author | Wojciech Staszkiewicz <staszkiewicz@google.com> | 2015-05-08 14:58:46 +0100 |
---|---|---|
committer | Wojciech Staszkiewicz <staszkiewicz@google.com> | 2015-05-22 10:26:31 +0100 |
commit | 4f11754f72ac4c60448b36a1a933cdc2d7bc1870 (patch) | |
tree | ccde1f0eb75c01783f1c30d5f5c845fa0dfa2896 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | d3916c885ba382d78b6c64bc0773dd38638a6c3f (diff) |
Pass charset to XmlPullParser.setInput instead of null
Passing null to XmlPullParser.setInput forces it to do additional
work, which can be easily avoided if we know the charset beforehand.
bug: b/20849543
(cherry picked from commit 9e9e2e73c6ec7bece20268196dc89ad0c8bafad4)
Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions