Skip to content

Commit 03a1595

Browse files
authored
Add missing allowNotifications() in BaselineProfileGenerator.kt
Closes #853
1 parent 48041fc commit 03a1595

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

benchmarks/src/main/java/com/google/samples/apps/nowinandroid/baselineprofile/BaselineProfileGenerator.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package com.google.samples.apps.nowinandroid.baselineprofile
1818

1919
import androidx.benchmark.macro.junit4.BaselineProfileRule
2020
import com.google.samples.apps.nowinandroid.PACKAGE_NAME
21+
import com.google.samples.apps.nowinandroid.allowNotifications
2122
import com.google.samples.apps.nowinandroid.bookmarks.goToBookmarksScreen
2223
import com.google.samples.apps.nowinandroid.foryou.forYouScrollFeedDownUp
2324
import com.google.samples.apps.nowinandroid.foryou.forYouSelectTopics
@@ -43,6 +44,8 @@ class BaselineProfileGenerator {
4344
pressHome()
4445
startActivityAndWait()
4546

47+
allowNotifications()
48+
4649
// Scroll the feed critical user journey
4750
forYouWaitForContent()
4851
forYouSelectTopics(true)

0 commit comments

Comments
 (0)