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

Commit 2e7ee31a authored by Michael Groover's avatar Michael Groover Committed by Automerger Merge Worker
Browse files

Merge "Update getSigningCertHistory docs to reflect signers returned in order"...

Merge "Update getSigningCertHistory docs to reflect signers returned in order" into tm-dev am: 6be26225

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17212951

Change-Id: Ie89a82443dff523b97dc47032cee64e873fa192a
parents ea5e3528 6be26225
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -72,8 +72,10 @@ public final class SigningInfo implements Parcelable {
    /**
     * Returns the signing certificates this package has proven it is authorized to use. This
     * includes both the signing certificate associated with the signer of the package and the past
     * signing certificates it included as its proof of signing certificate rotation.  This method
     * is the preferred replacement for the {@code GET_SIGNATURES} flag used with {@link
     * signing certificates it included as its proof of signing certificate rotation.  Signing
     * certificates are returned in the order of rotation with the original signing certificate at
     * index 0, and the current signing certificate at the last index. This method is the preferred
     * replacement for the {@code GET_SIGNATURES} flag used with {@link
     * PackageManager#getPackageInfo(String, int)}. When determining if a package is signed by a
     * desired certificate, the returned array should be checked to determine if it is one of the
     * entries.