commit | 3704158c7039519d560a71a453fb54ef912e8df6 | [log] [tgz] |
---|---|---|
author | Paul Duffin <paulduffin@google.com> | Wed Sep 13 00:00:58 2023 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Wed Sep 13 12:03:10 2023 +0000 |
tree | 79f35d94b211798859dd6261fabef520b98c4635 | |
parent | a4158239a54dbbec2c958a14b53e53a13d9c01f3 [diff] |
Replace --api-overloaded-method--order with --format-defaults Bug: 300052204 Test: m checkapi (cherry picked from https://android-review.googlesource.com/q/commit:504d3565790b0dc5220f9c9c7ae230fad758fed7) Merged-In: I8952a828437872ceebf7f9da4dc297173ed2a90b Change-Id: I8952a828437872ceebf7f9da4dc297173ed2a90b
diff --git a/java/droidstubs.go b/java/droidstubs.go index 9379b88..faa7f7d 100644 --- a/java/droidstubs.go +++ b/java/droidstubs.go
@@ -540,7 +540,7 @@ // 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 }