Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97bcce76 authored by Paul Duffin's avatar Paul Duffin Committed by Cherrypicker Worker
Browse files

Retain concrete overrides of abstract methods by default

Bug: 299366704
Test: m checkapi
(cherry picked from https://android-review.googlesource.com/q/commit:629b9d287d61b44a587629c7c1176fcc2197590d)
Merged-In: I3d9fafefe90a98568c16d80c30e4d1d88a22c350
Change-Id: I3d9fafefe90a98568c16d80c30e4d1d88a22c350
parent 3337dc79
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -540,7 +540,9 @@ func metalavaCmd(ctx android.ModuleContext, rule *android.RuleBuilder, javaVersi


	// Force metalava to sort overloaded methods by their order in the source code.
	// Force metalava to sort overloaded methods by their order in the source code.
	// See b/285312164 for more information.
	// See b/285312164 for more information.
	cmd.FlagWithArg("--format-defaults ", "overloaded-method-order=source")
	// And add concrete overrides of abstract methods, see b/299366704 for more
	// information.
	cmd.FlagWithArg("--format-defaults ", "overloaded-method-order=source,add-additional-overrides=yes")


	return cmd
	return cmd
}
}