diff --git a/app/src/androidTest/java/com/owncloud/android/AbstractIT.java b/app/src/androidTest/java/com/owncloud/android/AbstractIT.java index d210c8398274..2f42492691f4 100644 --- a/app/src/androidTest/java/com/owncloud/android/AbstractIT.java +++ b/app/src/androidTest/java/com/owncloud/android/AbstractIT.java @@ -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; @@ -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(); } }