diff options
author | Adam Lesinski <adamlesinski@google.com> | 2015-04-09 19:53:22 -0700 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2015-04-10 15:25:39 -0700 |
commit | 4d3a987694f6f6b95d8a0f1542618223ce253e6d (patch) | |
tree | 2cd3a420ba07991db07d0b31d7a93030754d3cb9 /tools/aapt2/Png.cpp | |
parent | a826c4b7a4c7ffd471973d58e46ac6f1f2cad83a (diff) | |
download | frameworks_base-4d3a987694f6f6b95d8a0f1542618223ce253e6d.zip frameworks_base-4d3a987694f6f6b95d8a0f1542618223ce253e6d.tar.gz frameworks_base-4d3a987694f6f6b95d8a0f1542618223ce253e6d.tar.bz2 |
AAPT2: Adding basic binding support
This is incomplete. Still requires:
- filling in layout information in the resulting .bind.xml
- processing elements with <view class=""/>
- processing imports
Change-Id: Ie5d4c5e6435591bbed3248129a548736244894eb
Diffstat (limited to 'tools/aapt2/Png.cpp')
-rw-r--r-- | tools/aapt2/Png.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/Png.cpp b/tools/aapt2/Png.cpp index dd753f1..76120ac 100644 --- a/tools/aapt2/Png.cpp +++ b/tools/aapt2/Png.cpp @@ -1241,7 +1241,7 @@ bool Png::process(const Source& source, std::istream& input, std::ostream& outpu goto bail; } - if (util::stringEndsWith(source.path, ".9.png")) { + if (util::stringEndsWith<char>(source.path, ".9.png")) { if (!do9Patch(&pngInfo, outError)) { goto bail; } |