summaryrefslogtreecommitdiff
path: root/tools/aapt2/Util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/Util.cpp')
-rw-r--r--tools/aapt2/Util.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/aapt2/Util.cpp b/tools/aapt2/Util.cpp
index 8a4c88f4fa8c..c2418ebebf4c 100644
--- a/tools/aapt2/Util.cpp
+++ b/tools/aapt2/Util.cpp
@@ -54,13 +54,6 @@ std::vector<std::string> splitAndLowercase(const StringPiece& str, char sep) {
return splitAndTransform(str, sep, ::tolower);
}
-bool stringEndsWith(const StringPiece& str, const StringPiece& suffix) {
- if (str.size() < suffix.size()) {
- return false;
- }
- return str.substr(str.size() - suffix.size(), suffix.size()) == suffix;
-}
-
StringPiece16 trimWhitespace(const StringPiece16& str) {
if (str.size() == 0 || str.data() == nullptr) {
return str;