summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2023-10-10 17:51:53 +0100
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-10-12 08:54:14 +0000
commit827b162acb617de0199f90bdd9150011adbe8e72 (patch)
tree3b99c1ba9ca1a0d69e724a267ed8926c1358529d
parent0bbd5408982f09c7e290a4aa528e1bb992ddca73 (diff)
downloadapache-http-827b162acb617de0199f90bdd9150011adbe8e72.tar.gz
Prepare for keeping concrete overrides of abstract methods
Currently, metalava will discard concrete overrides of abstract methods from the API signature files which causes problems when attempting to generate stubs from those files and also discards information that may be important in API reviews. This change is the first step in the process of changing that behavior. This change hard codes the current behavior for discarding the concrete overrides (`add-additional-overrides=no`) into those signature files that will (or are likely) to be affected by the change in behavior. That allows the default behavior to be changed for all the other files without affecting these. Follow up changes will remove the hard coding from the signature files and will update the contents which will include the concrete overrides of the abstract methods. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkapi Bug: 299366704 (cherry picked from https://android-review.googlesource.com/q/commit:837aa6961b503df199734b8928ad1d913dc94a5b) Merged-In: Ia4e7977ae8cfefa15612b45dca33fd6007c27e5d Change-Id: Ia4e7977ae8cfefa15612b45dca33fd6007c27e5d
-rw-r--r--api/current.txt2
-rw-r--r--api/removed.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 9f1b879..a6f3a96 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -1,4 +1,6 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
package android.net.compatibility {
public class WebAddress {
diff --git a/api/removed.txt b/api/removed.txt
index d802177..14191eb 100644
--- a/api/removed.txt
+++ b/api/removed.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704