Merge "Replace --api-overloaded-method--order with --format-defaults" into main

This commit is contained in:
Paul Duffin
2023-09-13 11:57:03 +00:00
committed by Gerrit Code Review

View File

@@ -539,7 +539,7 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi
// Force metalava to sort overloaded methods by their order in the source code.
// See b/285312164 for more information.
cmd.FlagWithArg("--api-overloaded-method-order ", "source")
cmd.FlagWithArg("--format-defaults ", "overloaded-method-order=source")
return cmd
}