File tree Expand file tree Collapse file tree
libnavigation-core/src/androidTest/java/com/mapbox/navigation/core/trip/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package com.mapbox.navigation.core.trip.service
22
3- import android.os.Build
43import androidx.test.espresso.Espresso.onIdle
54import androidx.test.ext.junit.runners.AndroidJUnit4
65import androidx.test.uiautomator.By
@@ -41,11 +40,7 @@ internal class TripServiceTest :
4140 By .res(" com.mapbox.navigation.core.test:id/freeDriveText" )
4241
4342 openNotification()
44- if (Build .VERSION .SDK_INT < Build .VERSION_CODES .S ) {
45- // Android 12 always places foreground notification on top,
46- // no need to scroll and look for it
47- searchForMyForegroundNotification(freeDriveText)
48- }
43+ searchForMyForegroundNotification(freeDriveText)
4944
5045 assertFalse(hasObject(etaContent))
5146 assertTrue(hasObject(freeDriveText))
You can’t perform that action at this time.
0 commit comments