summaryrefslogtreecommitdiff
path: root/service/api
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2023-10-10 17:11:25 +0100
committerPaul Duffin <paulduffin@google.com>2023-10-10 17:49:03 +0000
commitcaab77d07da047fdb6dc75728b760996b4b48ae2 (patch)
tree1b56da03dcdfdbfa718c22ffd4d74acbb33590ea /service/api
parentb069b904ddac06e9735cfadbe716e77fdded9889 (diff)
downloadConfigInfrastructure-caab77d07da047fdb6dc75728b760996b4b48ae2.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 Change-Id: Ie7635e0b7ae04ca348ca3d1e3a339133def0ce3b Merged-In: I76e43419214adb7aeca6da1233149051160b1570
Diffstat (limited to 'service/api')
-rw-r--r--service/api/system-server-current.txt2
-rw-r--r--service/api/system-server-removed.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/service/api/system-server-current.txt b/service/api/system-server-current.txt
index 722ace1..f464685 100644
--- a/service/api/system-server-current.txt
+++ b/service/api/system-server-current.txt
@@ -1,4 +1,6 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704
package com.android.server.deviceconfig {
public class DeviceConfigInit {
diff --git a/service/api/system-server-removed.txt b/service/api/system-server-removed.txt
index d802177..14191eb 100644
--- a/service/api/system-server-removed.txt
+++ b/service/api/system-server-removed.txt
@@ -1 +1,3 @@
// Signature format: 2.0
+// - add-additional-overrides=no
+// - migrating=Migration in progress see b/299366704