Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b541f09b authored by Christopher Tate's avatar Christopher Tate Committed by Android (Google) Code Review
Browse files

Merge "Fix crash in KeySet dump" into lmp-dev

parents 8c07e8d2 6441bc7e
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -538,7 +538,9 @@ public class KeySetManagerService {
                    pw.println("");
                }
                printedLabel = false;
                for (long keySetId : pkg.keySetData.getSigningKeySets()) {
                final long[] signingKeySets = pkg.keySetData.getSigningKeySets();
                if (signingKeySets != null) {
                    for (long keySetId : signingKeySets) {
                        if (!printedLabel) {
                            pw.print("      Signing KeySets: ");
                            printedLabel = true;
@@ -547,6 +549,7 @@ public class KeySetManagerService {
                        }
                        pw.print(Long.toString(keySetId));
                    }
                }
                if (printedLabel) {
                    pw.println("");
                }