From 17a8cd963497d7809dd40e0988d2dc0eeb5cd255 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Mon, 30 Nov 2020 10:59:28 +0000 Subject: [PATCH] Add 'lo-prio' tag to temp blocklist. This is a temporary measure to allow these APIs to be identified by downstream tooling. Before S is finished, these APIs will be moved to the max-target-R list anyway. Adding the lo-prio flag should have no semantic impact on these APIs but does allow them to be distinguished from the regular blocklist APIs. Test: m Bug: 174455522 Change-Id: I031dcecbdef34a4f93a0fec1a92d95f769918486 --- java/hiddenapi_singleton.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go index e57f32337..8f0e09cbd 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -259,7 +259,7 @@ func flagsRule(ctx android.SingletonContext) android.Path { FlagWithInput("--blocked ", android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blocked.txt")). FlagWithInput("--blocked ", - android.PathForSource(ctx, "frameworks/base/config/hiddenapi-temp-blocklist.txt")). + android.PathForSource(ctx, "frameworks/base/config/hiddenapi-temp-blocklist.txt")).FlagWithArg("--tag ", "lo-prio"). FlagWithInput("--unsupported ", android.PathForSource( ctx, "frameworks/base/config/hiddenapi-unsupported-packages.txt")).Flag("--packages "). FlagWithOutput("--output ", tempPath)