diff options
author | Michael Wright <michaelwr@google.com> | 2016-05-09 14:43:31 +0100 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2016-05-09 19:45:07 +0100 |
commit | 5bacef33c91e9625dfd09ecf638c2de7faecd34e (patch) | |
tree | 545ac749f183ec37edc89eb5e2066427cc0457fa /include/utils/String16.h | |
parent | ea41a18c933d20264b89fc89febf387231dc0c24 (diff) |
Add String16#contains and strstr16 methods.
These are needed for aapt to find javadoc comments that contain
"@removed" in order to skip them when printing styleable docs.
Bug: 28663748
Change-Id: I8866d2167c41e11d6c2586da369560d5815fd13e
Diffstat (limited to 'include/utils/String16.h')
-rw-r--r-- | include/utils/String16.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/utils/String16.h b/include/utils/String16.h index 9a67c7a5f..9bb6f0d1e 100644 --- a/include/utils/String16.h +++ b/include/utils/String16.h @@ -90,7 +90,9 @@ public: bool startsWith(const String16& prefix) const; bool startsWith(const char16_t* prefix) const; - + + bool contains(const char16_t* chrs) const; + status_t makeLower(); status_t replaceAll(char16_t replaceThis, |