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

Commit 9a995f57 authored by Kenny Root's avatar Kenny Root
Browse files

KeySetManager: change KEYSET_NOT_FOUND to public

Make the constant KEYSET_NOT_FOUND so that other source code components
can use that as the sentinel value directly instead of -1

Change-Id: If89de5fb312d55e360b96aadbc6effcd480043b2
parent 2758e291
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -42,7 +42,10 @@ public class KeySetManager {

    static final String TAG = "KeySetManager";

    private static final long KEYSET_NOT_FOUND = -1;
    /** Sentinel value returned when a {@code KeySet} is not found. */
    public static final long KEYSET_NOT_FOUND = -1;

    /** Sentinel value returned when public key is not found. */
    private static final long PUBLIC_KEY_NOT_FOUND = -1;

    private final Object mLockObject = new Object();