Merge "Replace --api-overloaded-method--order with --format-defaults" into main am: 93961bfbe5

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2748754

Change-Id: Ie90cc44469ca4ffdd27070d0c9cb956e31140050
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Paul Duffin 2023-09-13 13:02:00 +00:00 committed by Automerger Merge Worker
commit 3f23d2686b

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
}