summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Cashman <dcashman@google.com> 2018-02-02 09:50:58 -0800
committer Dan Cashman <dcashman@google.com> 2018-02-02 11:14:37 -0800
commitbe6c065d2c2ec960a266da88e6cd5bd33f15fde7 (patch)
tree7ddc6c6a8efe6a9d263c5549bde58305c42538b7
parent34b58512cbec4b77803d412e4ce089a95dd1fec2 (diff)
PackageSignatures: Add close bracket for "past signatures" output.
Test: dumpsys package shows ']', whereas it did not before. Change-Id: I7575d78cda28f723ef5c2b1e37db21652318a6da
-rw-r--r--services/core/java/com/android/server/pm/PackageSignatures.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/pm/PackageSignatures.java b/services/core/java/com/android/server/pm/PackageSignatures.java
index 95f490ef1b27..471729ee649d 100644
--- a/services/core/java/com/android/server/pm/PackageSignatures.java
+++ b/services/core/java/com/android/server/pm/PackageSignatures.java
@@ -318,7 +318,7 @@ class PackageSignatures {
mSigningDetails.signatures[i].hashCode()));
}
}
- buf.append("]}");
+ buf.append("]");
buf.append(", past signatures:[");
if (mSigningDetails.pastSigningCertificates != null) {
for (int i = 0; i < mSigningDetails.pastSigningCertificates.length; i++) {
@@ -329,6 +329,7 @@ class PackageSignatures {
buf.append(Integer.toHexString(mSigningDetails.pastSigningCertificatesFlags[i]));
}
}
+ buf.append("]}");
return buf.toString();
}
}