| diff --git a/system/core/base/strings.cpp b/system/core/base/strings.cpp | |
| index b8775df..eceb844 100644 | |
| --- a/system/core/base/strings.cpp | |
| +++ b/system/core/base/strings.cpp | |
| @@ -100,5 +100,9 @@ bool EndsWith(const std::string& s, const char* suffix) { | |
| return s.compare(offset, suffix_length, suffix) == 0; | |
| } | |
| +bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs) { | |
| + return strcasecmp(lhs.c_str(), rhs.c_str()) == 0; | |
| +} | |
| + | |
| } // namespace base | |
| } // namespace android |