summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2023-10-10 17:11:24 +0100
committer Paul Duffin <paulduffin@google.com> 2023-10-10 17:11:24 +0100
commit48379f815d43560db37c7291fbfb29cfa06e865c (patch)
treebf832b16fbf205c2341454de67d20af581c10e87 /libs
parentcbeabedcd1ff0d3b51bfa4c364c89a76549c08fa (diff)
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 Change-Id: Ibe0dbfa29f88d1040798ae394e8d456436259aea
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/api/current.txt2
-rw-r--r--libs/hwui/api/module-lib-current.txt2
-rw-r--r--libs/hwui/api/module-lib-removed.txt2
-rw-r--r--libs/hwui/api/removed.txt2
-rw-r--r--libs/hwui/api/system-current.txt2
-rw-r--r--libs/hwui/api/system-removed.txt2
6 files changed, 12 insertions, 0 deletions
diff --git a/libs/hwui/api/current.txt b/libs/hwui/api/current.txt
index c396a2032eed..794082124344 100644
--- a/libs/hwui/api/current.txt
+++ b/libs/hwui/api/current.txt
@@ -1,4 +1,6 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
package android.graphics {
public class ColorMatrix {
diff --git a/libs/hwui/api/module-lib-current.txt b/libs/hwui/api/module-lib-current.txt
index d802177e249b..14191ebcb080 100644
--- a/libs/hwui/api/module-lib-current.txt
+++ b/libs/hwui/api/module-lib-current.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
diff --git a/libs/hwui/api/module-lib-removed.txt b/libs/hwui/api/module-lib-removed.txt
index d802177e249b..14191ebcb080 100644
--- a/libs/hwui/api/module-lib-removed.txt
+++ b/libs/hwui/api/module-lib-removed.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
diff --git a/libs/hwui/api/removed.txt b/libs/hwui/api/removed.txt
index d802177e249b..14191ebcb080 100644
--- a/libs/hwui/api/removed.txt
+++ b/libs/hwui/api/removed.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
diff --git a/libs/hwui/api/system-current.txt b/libs/hwui/api/system-current.txt
index d802177e249b..14191ebcb080 100644
--- a/libs/hwui/api/system-current.txt
+++ b/libs/hwui/api/system-current.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
diff --git a/libs/hwui/api/system-removed.txt b/libs/hwui/api/system-removed.txt
index d802177e249b..14191ebcb080 100644
--- a/libs/hwui/api/system-removed.txt
+++ b/libs/hwui/api/system-removed.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704