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

Commit 3d32715f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add CTS for BlobStoreManager.Session.openRead()." into rvc-dev am:...

Merge "Add CTS for BlobStoreManager.Session.openRead()." into rvc-dev am: 2089dc67 am: 3102f710 am: 2f87660e

Change-Id: I9f42fab0c9b744d0622cd0d94b1ae3f83986b285
parents a9204a7f 2f87660e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ public class DummyBlobData {

        final byte[] actualBytes = new byte[lengthBytes];
        try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(
                session.openWrite(0L, 0L))) {
                session.openRead())) {
            read(in, actualBytes, offsetBytes, lengthBytes);
        }

@@ -190,7 +190,7 @@ public class DummyBlobData {
            long offsetBytes, long lengthBytes) throws Exception {
        final byte[] actualDigest;
        try (FileInputStream in = new ParcelFileDescriptor.AutoCloseInputStream(
                session.openWrite(0L, 0L))) {
                session.openRead())) {
            actualDigest = createSha256Digest(in, offsetBytes, lengthBytes);
        }