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

Commit 3539fa7d authored by Ellen Arteca's avatar Ellen Arteca Committed by Gerrit Code Review
Browse files

Merge "Add a finalizer to LockscreenCredential to wipe the LSKF on GC" into main

parents 296079cc 08d389fc
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -385,6 +385,11 @@ public class LockscreenCredential implements Parcelable, AutoCloseable {
        zeroize();
    }

    @Override
    public void finalize() {
        zeroize();
    }

    @Override
    public int hashCode() {
        // Effective Java — Always override hashCode when you override equals