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

This commit is contained in:
TreeHugger Robot
2018-04-16 22:40:56 +00:00
committed by Android (Google) Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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