From e04da07dfe08239f6c33ef8171452fe26dfa6345 Mon Sep 17 00:00:00 2001 From: Andrei Onea Date: Fri, 1 Mar 2019 17:44:13 +0000 Subject: [PATCH] Differentiate system and test apis in whitelist @SystemApi and @TestApi entries in the whitelist can now be differentiated from the rest of the public apis. Test: m Change-Id: Ie6a0108540cffe11992739d6391531401378f14b --- java/hiddenapi_singleton.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go index ceafb59e0..86531ebc7 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -183,8 +183,8 @@ func stubFlagsRule(ctx android.SingletonContext) { Text("list"). FlagForEachInput("--boot-dex=", bootDexJars). FlagWithInputList("--public-stub-classpath=", publicStubPaths, ":"). - FlagWithInputList("--public-stub-classpath=", systemStubPaths, ":"). - FlagWithInputList("--public-stub-classpath=", testStubPaths, ":"). + FlagWithInputList("--system-stub-classpath=", systemStubPaths, ":"). + FlagWithInputList("--test-stub-classpath=", testStubPaths, ":"). FlagWithInputList("--core-platform-stub-classpath=", corePlatformStubPaths, ":"). FlagWithOutput("--out-api-flags=", tempPath)