|
|
@ -42,7 +42,7 @@ object Permissions { |
|
|
|
const val ACCESS_MEDIA_LOCATION = "android.permission.ACCESS_MEDIA_LOCATION" |
|
|
|
const val ACCESS_MEDIA_LOCATION = "android.permission.ACCESS_MEDIA_LOCATION" |
|
|
|
|
|
|
|
|
|
|
|
object Group { |
|
|
|
object Group { |
|
|
|
val STORAGE = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { |
|
|
|
val STORAGE = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) { |
|
|
|
arrayOf(MANAGE_EXTERNAL_STORAGE) |
|
|
|
arrayOf(MANAGE_EXTERNAL_STORAGE) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
arrayOf(READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE) |
|
|
|
arrayOf(READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE) |
|
|
|