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

Commit 3d13bdfd authored by Tomasz Mikolajewski's avatar Tomasz Mikolajewski Committed by Android (Google) Code Review
Browse files

Merge "Fix remaining renames in MtpDocumentsProvider tests."

parents 2e95181a 3edb4201
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -59,13 +59,13 @@ public class PipeManagerTest extends AndroidTestCase {
        mtpManager.setDocument(0, 1, new MtpDocument(1, 0, "", new Date(), 0, 0, false));

        // Upload testing bytes.
        final ParcelFileDescriptor descriptor = pipeManager.writeDocument(
        final ParcelFileDescriptor descriptor = mPipeManager.writeDocument(
                getContext(), mtpManager, new Identifier(0, 0, 1));
        final ParcelFileDescriptor.AutoCloseOutputStream outputStream =
                new ParcelFileDescriptor.AutoCloseOutputStream(descriptor);
        outputStream.write(HELLO_BYTES, 0, HELLO_BYTES.length);
        outputStream.close();
        executor.awaitTermination(1000, TimeUnit.MILLISECONDS);
        mExecutor.awaitTermination(1000, TimeUnit.MILLISECONDS);

        // Check if the placeholder file is removed.
        try {