Update benchmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/foryou/ForYouActions.kt

Co-authored-by: Tomáš Mlynarič <mlykotom@google.com>
pull/1060/head
Ben Weiss 7 months ago committed by GitHub
parent 53a381c8ea
commit fce77896f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -47,8 +47,7 @@ fun MacrobenchmarkScope.forYouSelectTopics(recheckTopicsIfChecked: Boolean = fal
val withChildren = topics.childCount != 0 val withChildren = topics.childCount != 0
if (!withChildren) { if (!withChildren) {
// TODO: Ensure ForYou has topics. // TODO: Ensure ForYou has topics.
Log.e(TAG, "no topics found, can't scroll for baseline profile generation.") fail("No topics found, can't scroll for baseline profile generation.")
fail()
} }
// Set gesture margin from sides not to trigger system gesture navigation // Set gesture margin from sides not to trigger system gesture navigation

Loading…
Cancel
Save