mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 10:20:25 +01:00
Add unit test coverage for AttachmentSaver.
This commit is contained in:
committed by
Cody Henthorne
parent
b9dc5cbe4f
commit
293012c219
@@ -1804,6 +1804,7 @@ public final class ConversationItem extends RelativeLayout implements BindableCo
|
||||
if (author.equals(Recipient.self().getId())) {
|
||||
return context.getString(R.string.ConversationItem__reacted_to_your_story);
|
||||
} else {
|
||||
//noinspection WrongThread
|
||||
return context.getString(R.string.ConversationItem__you_reacted_to_s_story, Recipient.resolved(author).getShortDisplayName(context));
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user