Merge "Fix the bug where the added field into the toString implementation does not have a corresponding %s formatting."

This commit is contained in:
Treehugger Robot
2022-11-21 21:37:47 +00:00
committed by Gerrit Code Review

View File

@@ -129,9 +129,18 @@ public final class AppInstallMetadata {
@Override
public String toString() {
return String.format(
"AppInstallMetadata { PackageName = %s, AppCerts = %s, InstallerName = %s,"
+ " InstallerCerts = %s, VersionCode = %d, PreInstalled = %b, StampPresent ="
+ " %b, StampVerified = %b, StampTrusted = %b, StampCert = %s }",
"AppInstallMetadata {"
+ " PackageName = %s,"
+ " AppCerts = %s,"
+ " AppCertsLineage = %s,"
+ " InstallerName = %s,"
+ " InstallerCerts = %s,"
+ " VersionCode = %d,"
+ " PreInstalled = %b,"
+ " StampPresent = %b,"
+ " StampVerified = %b,"
+ " StampTrusted = %b,"
+ " StampCert = %s }",
mPackageName,
mAppCertificates,
mAppCertificateLineage,