File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
benchmarks/src/main/java/com/google/samples/apps/nowinandroid/baselineprofile Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ package com.google.samples.apps.nowinandroid.baselineprofile
1919import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
2020import androidx.benchmark.macro.junit4.BaselineProfileRule
2121import com.google.samples.apps.nowinandroid.PACKAGE_NAME
22+ import com.google.samples.apps.nowinandroid.allowNotifications
2223import com.google.samples.apps.nowinandroid.bookmarks.goToBookmarksScreen
2324import com.google.samples.apps.nowinandroid.foryou.forYouScrollFeedDownUp
2425import 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
You can’t perform that action at this time.
0 commit comments