diff options
| author | 2018-04-05 07:23:24 +0000 | |
|---|---|---|
| committer | 2018-04-05 07:23:24 +0000 | |
| commit | 406cfc2782cd6ba93a4162c066a0d13cbf4967a2 (patch) | |
| tree | 14414421a47add577038a7cc60352effc262dfd1 /tools/veridex/hidden_api.cc | |
| parent | 1f07c426558d8019058d8825319091e1e2d6c55c (diff) | |
| parent | 60af9c3a914c518f39d58a79a74a4ffdc4bdaa3a (diff) | |
Snap for 4701683 from 60af9c3a914c518f39d58a79a74a4ffdc4bdaa3a to pi-release
Change-Id: I75cb19465ec86c1ebb2aaa729a169155c1ad0a49
Diffstat (limited to 'tools/veridex/hidden_api.cc')
| -rw-r--r-- | tools/veridex/hidden_api.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/veridex/hidden_api.cc b/tools/veridex/hidden_api.cc index 93f921a25f..17fa1b8513 100644 --- a/tools/veridex/hidden_api.cc +++ b/tools/veridex/hidden_api.cc @@ -61,6 +61,11 @@ void HiddenApi::FillList(const char* filename, std::set<std::string>& entries) { // Add the class->method name (so stripping the signature). entries.insert(str.substr(0, pos)); } + pos = str.find(':'); + if (pos != std::string::npos) { + // Add the class->field name (so stripping the type). + entries.insert(str.substr(0, pos)); + } } } } |