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