Merge "Fix the bug where the added field into the toString implementation does not have a corresponding %s formatting."
This commit is contained in:
@@ -129,9 +129,18 @@ public final class AppInstallMetadata {
|
|||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format(
|
return String.format(
|
||||||
"AppInstallMetadata { PackageName = %s, AppCerts = %s, InstallerName = %s,"
|
"AppInstallMetadata {"
|
||||||
+ " InstallerCerts = %s, VersionCode = %d, PreInstalled = %b, StampPresent ="
|
+ " PackageName = %s,"
|
||||||
+ " %b, StampVerified = %b, StampTrusted = %b, StampCert = %s }",
|
+ " AppCerts = %s,"
|
||||||
|
+ " AppCertsLineage = %s,"
|
||||||
|
+ " InstallerName = %s,"
|
||||||
|
+ " InstallerCerts = %s,"
|
||||||
|
+ " VersionCode = %d,"
|
||||||
|
+ " PreInstalled = %b,"
|
||||||
|
+ " StampPresent = %b,"
|
||||||
|
+ " StampVerified = %b,"
|
||||||
|
+ " StampTrusted = %b,"
|
||||||
|
+ " StampCert = %s }",
|
||||||
mPackageName,
|
mPackageName,
|
||||||
mAppCertificates,
|
mAppCertificates,
|
||||||
mAppCertificateLineage,
|
mAppCertificateLineage,
|
||||||
|
|||||||
Reference in New Issue
Block a user