From fce77896f71f694b3ee978bf0904404432785ba4 Mon Sep 17 00:00:00 2001 From: Ben Weiss Date: Fri, 19 Apr 2024 09:08:36 +0100 Subject: [PATCH] Update benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomáš Mlynarič --- .../google/samples/apps/nowinandroid/foryou/ForYouActions.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt b/benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt index ced2bc803..8da1a8aa0 100644 --- a/benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt +++ b/benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt @@ -47,8 +47,7 @@ fun MacrobenchmarkScope.forYouSelectTopics(recheckTopicsIfChecked: Boolean = fal val withChildren = topics.childCount != 0 if (!withChildren) { // TODO: Ensure ForYou has topics. - Log.e(TAG, "no topics found, can't scroll for baseline profile generation.") - fail() + fail("No topics found, can't scroll for baseline profile generation.") } // Set gesture margin from sides not to trigger system gesture navigation