summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mathew Inwood <mathewi@google.com> 2020-11-16 10:47:08 +0000
committer Mathew Inwood <mathewi@google.com> 2020-11-23 09:45:45 +0000
commit21000ae6fe36b525b5b3561b1b35836eb1325dfe (patch)
tree1c99d2c98a21431fac6a75659769b79b324b53c1
parentac3fcff3ad61fe468517163f47ec2239dff4e17f (diff)
Add "lo-prio" tag.
The tag is being introduced in hiddenapi-flags.csv so support it here too. Test: Treehugger Change-Id: I121e573b2b6a65a164194c83777c4971a5c58673
-rw-r--r--libartbase/base/hiddenapi_stubs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libartbase/base/hiddenapi_stubs.h b/libartbase/base/hiddenapi_stubs.h
index ccfbc42b35..74713a6efe 100644
--- a/libartbase/base/hiddenapi_stubs.h
+++ b/libartbase/base/hiddenapi_stubs.h
@@ -48,7 +48,7 @@ class ApiStubs {
static bool IsStubsFlag(const std::string_view& api_flag_name) {
return api_flag_name == kPublicApiStr || api_flag_name == kSystemApiStr ||
api_flag_name == kTestApiStr || api_flag_name == kCorePlatformApiStr ||
- api_flag_name == kRemovedApiStr;
+ api_flag_name == kRemovedApiStr || api_flag_name == kLowPriorityApiStr;
}
private:
@@ -57,6 +57,7 @@ class ApiStubs {
static constexpr std::string_view kTestApiStr{"test-api"};
static constexpr std::string_view kCorePlatformApiStr{"core-platform-api"};
static constexpr std::string_view kRemovedApiStr{"removed"};
+ static constexpr std::string_view kLowPriorityApiStr{"lo-prio"};
};
} // namespace hiddenapi