Merge "Replace PackageInfo#signingCertificateHistory field doc reference." into pi-dev
am: 82f36b120d
Change-Id: I6a0b86e427ecb1e889cb39bae1b3e99248daea16
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user