From 6131efddce0957c0240b9bf4331e021540a3ac4a Mon Sep 17 00:00:00 2001 From: Jihoon Kang Date: Thu, 12 Oct 2023 01:35:02 +0000 Subject: Add additional overriding methods to signature files This change adds overriding methods that are essential to compile the stubs generated from the signature files. More information and the background for this change is available at go/add-overriding-one-pager. Test: m checkbuild --build-from-text-stub Bug: 299366704 Change-Id: I301ec87464be4fa89380b2ccb8b8b305676ec67f --- api/current.txt | 8 ++++++-- api/removed.txt | 2 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/api/current.txt b/api/current.txt index a6f3a96..30104c9 100644 --- a/api/current.txt +++ b/api/current.txt @@ -1,6 +1,4 @@ // Signature format: 2.0 -// - add-additional-overrides=no -// - migrating=Migration in progress see b/299366704 package android.net.compatibility { public class WebAddress { @@ -1229,7 +1227,10 @@ package org.apache.http.auth { @Deprecated public final class BasicUserPrincipal implements java.security.Principal { ctor @Deprecated public BasicUserPrincipal(String); + method @Deprecated public boolean equals(Object); method @Deprecated public String getName(); + method @Deprecated public int hashCode(); + method @Deprecated public String toString(); } @Deprecated public interface Credentials { @@ -1261,9 +1262,12 @@ package org.apache.http.auth { @Deprecated public class NTUserPrincipal implements java.security.Principal { ctor @Deprecated public NTUserPrincipal(String, String); + method @Deprecated public boolean equals(Object); method @Deprecated public String getDomain(); method @Deprecated public String getName(); method @Deprecated public String getUsername(); + method @Deprecated public int hashCode(); + method @Deprecated public String toString(); } @Deprecated public class UsernamePasswordCredentials implements org.apache.http.auth.Credentials { diff --git a/api/removed.txt b/api/removed.txt index 14191eb..d802177 100644 --- a/api/removed.txt +++ b/api/removed.txt @@ -1,3 +1 @@ // Signature format: 2.0 -// - add-additional-overrides=no -// - migrating=Migration in progress see b/299366704 -- cgit v1.2.3