We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f678c0 + 28b285d commit ccbc556Copy full SHA for ccbc556
allure-kotlin-android/src/main/kotlin/io/qameta/allure/android/internal/TestUtils.kt
@@ -20,7 +20,7 @@ internal fun isDeviceTest(): Boolean =
20
System.getProperty("java.runtime.name")?.toLowerCase()?.contains("android") ?: false
21
22
internal fun requestExternalStoragePermissions() {
23
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) return
+ if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M || Build.VERSION.SDK_INT > Build.VERSION_CODES.P ) return
24
25
with(PermissionRequester()) {
26
addPermissions("android.permission.WRITE_EXTERNAL_STORAGE")
0 commit comments