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

Commit a2d8eae2 authored by Geremy Condra's avatar Geremy Condra
Browse files

Remove logging of KeySet parse errors.

Bug: 9532748
Change-Id: I3cce41de74783a121d2cd4f7b0ea6dfa03e3d7c5
parent 2ea7f8b9
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -505,9 +505,6 @@ public class KeySetManager {
                readKeysLPw(parser);
            } else if (tagName.equals("keysets")) {
                readKeySetListLPw(parser);
            } else {
                PackageManagerService.reportSettingsProblem(Log.WARN,
                        "Could not read KeySets for KeySetManager!");
            }
        }
    }
@@ -528,9 +525,6 @@ public class KeySetManager {
                lastIssuedKeyId = Long.parseLong(parser.getAttributeValue(null, "value"));
            } else if (tagName.equals("lastIssuedKeySetId")) {
                lastIssuedKeySetId = Long.parseLong(parser.getAttributeValue(null, "value"));
            } else {
                PackageManagerService.reportSettingsProblem(Log.WARN,
                        "Could not read keys for KeySetManager!");
            }
        }
    }
@@ -553,9 +547,6 @@ public class KeySetManager {
            } else if (tagName.equals("key-id")) {
                long id = readIdentifierLPw(parser);
                mKeySetMapping.get(currentKeySetId).add(id);
            } else {
                PackageManagerService.reportSettingsProblem(Log.WARN,
                        "Could not read KeySets for KeySetManager!");
            }
        }
    }
@@ -571,10 +562,7 @@ public class KeySetManager {
        long identifier = Long.parseLong(encodedID);
        String encodedPublicKey = parser.getAttributeValue(null, "value");
        PublicKey pub = PackageParser.parsePublicKey(encodedPublicKey);
        if (pub == null) {
            PackageManagerService.reportSettingsProblem(Log.WARN,
                    "Could not read public key for KeySetManager!");
        } else {
        if (pub != null) {
            mPublicKeys.put(identifier, pub);
        }
    }