diff options
| author | 2023-06-01 22:10:24 +0000 | |
|---|---|---|
| committer | 2023-06-01 22:10:24 +0000 | |
| commit | f6b1e23448a5f03faaa23b5acd8e1bde13ffdec6 (patch) | |
| tree | 2161d308e97644c1742d138983ac85763f6549e3 /java/java.go | |
| parent | 9cae81483a52f73947ab56a7a5af41fe930a4bc5 (diff) | |
| parent | 7202ffebf994136e2140e64fc0db7fab1d552a14 (diff) | |
Merge "Explicitly specify `--api-overloaded-method-order source` for metalava"
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index 5bc378b0c..09887a8af 100644 --- a/java/java.go +++ b/java/java.go @@ -1732,6 +1732,10 @@ func metalavaStubCmd(ctx android.ModuleContext, rule *android.RuleBuilder, // See b/285140653 for more information. cmd.FlagWithArg("--api-class-resolution ", "api") + // 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") + return cmd } |