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

Commit cc369093 authored by Dan Cashman's avatar Dan Cashman Committed by android-build-merger
Browse files

Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev

am: 82f36b12

Change-Id: I6a0b86e427ecb1e889cb39bae1b3e99248daea16
parents 1ebd66fe 82f36b12
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