Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Mar 27, 2024
1 parent fb2c89f commit 75f502c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
import java.util.Collection;
import java.util.Locale;
import java.util.Objects;
import java.util.UUID;

import androidx.annotation.NonNull;
import androidx.fragment.app.DialogFragment;
Expand Down Expand Up @@ -465,7 +464,7 @@ protected void screenshot(View view, String prefix, boolean createName) {

protected void screenshot(Activity sut) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.R) {
Screenshot.snapActivity(sut).setName(UUID.randomUUID().toString()).record();
Screenshot.snapActivity(sut).setName(createName()).record();
}
}

Expand Down

0 comments on commit 75f502c

Please sign in to comment.