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

Commit e942b914 authored by Dan Cashman's avatar Dan Cashman
Browse files

Replace PackageInfo#signingCertificateHistory field doc reference.

During API review, PackageInfo#signingCertificateHistory was changed
to PackageInfo#signingInfo.  This was not reflected everywhere in
the documentation.  Update it.

Bug: 74831530
Test: Doc change only, builds.
Change-Id: I497cdd732dffacf376ac05f7ccd181004c947210
parent 61ac5728
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ public class PackageInfo implements Parcelable {
     * reported signing certificate, so that an application will appear to
     * callers as though no rotation occurred.
     *
     * @deprecated use {@code signingCertificateHistory} instead
     * @deprecated use {@code signingInfo} instead
     */
    @Deprecated
    public Signature[] signatures;
+2 −2
Original line number Diff line number Diff line
@@ -6101,7 +6101,7 @@ public abstract class PackageManager {
     * case of packages that are signed by multiple certificates, for which signing certificate
     * rotation is not supported.  This method is analogous to using {@code getPackageInfo} with
     * {@code GET_SIGNING_CERTIFICATES} and then searching through the resulting {@code
     * signingCertificateHistory} field to see if the desired certificate is present.
     * signingInfo} field to see if the desired certificate is present.
     *
     * @param packageName package whose signing certificates to check
     * @param certificate signing certificate for which to search
@@ -6125,7 +6125,7 @@ public abstract class PackageManager {
     * rotation is not supported. This method is analogous to using {@code getPackagesForUid}
     * followed by {@code getPackageInfo} with {@code GET_SIGNING_CERTIFICATES}, selecting the
     * {@code PackageInfo} of the newest-signed bpackage , and finally searching through the
     * resulting {@code signingCertificateHistory} field to see if the desired certificate is there.
     * resulting {@code signingInfo} field to see if the desired certificate is there.
     *
     * @param uid uid whose signing certificates to check
     * @param certificate signing certificate for which to search