diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go index 86531ebc7..139114b37 100644 --- a/java/hiddenapi_singleton.go +++ b/java/hiddenapi_singleton.go @@ -236,6 +236,8 @@ func flagsRule(ctx android.SingletonContext) android.Path { android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-max-o.txt")). FlagWithInput("--blacklist ", android.PathForSource(ctx, "frameworks/base/config/hiddenapi-force-blacklist.txt")). + FlagWithInput("--greylist-packages ", + android.PathForSource(ctx, "frameworks/base/config/hiddenapi-greylist-packages.txt")). FlagWithOutput("--output ", tempPath) commitChangeForRestat(rule, tempPath, outputPath)