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

Commit f462515b authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Keystore 2.0 SPI: Implement modification time." am: d2e7c2e0

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1530772

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib7782fe0d5005b0249bbe459af10f8c1a395f482
parents abd6be2e d2e7c2e0
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
@@ -250,13 +250,10 @@ public class AndroidKeyStoreSpi extends KeyStoreSpi {
            return null;
        }


        // TODO add modification time to key metadata.
        if (response.metadata.modificationTimeMs == -1) {
            return null;
        // if (response.metadata.modificationTime == -1) {
        //     return null;
        // }
        // return new Date(response.metadata.modificationTime);
        }
        return new Date(response.metadata.modificationTimeMs);
    }

    @Override