Add unit test coverage for AttachmentSaver.

This commit is contained in:
Jeffrey Starke
2025-03-20 14:53:42 -04:00
committed by Cody Henthorne
parent b9dc5cbe4f
commit 293012c219
5 changed files with 371 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
package org.thoughtcrime.securesms.scribbles;
import android.Manifest;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
@@ -805,6 +806,7 @@ public final class ImageEditorFragment extends Fragment implements ImageEditorHu
});
}
@SuppressLint("WrongThread")
@WorkerThread
public @NonNull Uri renderToSingleUseBlob() {
return renderToSingleUseBlob(requireContext(), imageEditorView.getModel());