Skip to content

Commit 951e968

Browse files
committed
Allow notification for BP Generator
Change-Id: Ie9a432ab04e56cd42664c8aacbc898b622767c62
1 parent 7bee6d2 commit 951e968

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package com.google.samples.apps.nowinandroid.baselineprofile
1919
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
2020
import androidx.benchmark.macro.junit4.BaselineProfileRule
2121
import com.google.samples.apps.nowinandroid.PACKAGE_NAME
22+
import com.google.samples.apps.nowinandroid.allowNotifications
2223
import com.google.samples.apps.nowinandroid.bookmarks.goToBookmarksScreen
2324
import com.google.samples.apps.nowinandroid.foryou.forYouScrollFeedDownUp
2425
import com.google.samples.apps.nowinandroid.foryou.forYouSelectTopics
@@ -41,7 +42,7 @@ class BaselineProfileGenerator {
4142
// This block defines the app's critical user journey. Here we are interested in
4243
// optimizing for app startup. But you can also navigate and scroll
4344
// through your most important UI.
44-
45+
allowNotifications()
4546
pressHome()
4647
startActivityAndWait()
4748

0 commit comments

Comments
 (0)