mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Fixed the testOpeningFromFileManager was failing on Android 15.
This commit is contained in:
parent
dfabe27a91
commit
93f4a51013
@ -133,7 +133,9 @@ class OpeningFilesFromStorageTest : BaseActivityTest() {
|
||||
|
||||
@Test
|
||||
fun testOpeningFileFromFileManager() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R &&
|
||||
Build.VERSION.SDK_INT < Build.VERSION_CODES.VANILLA_ICE_CREAM
|
||||
) {
|
||||
activityScenario.onActivity {
|
||||
kiwixMainActivity = it
|
||||
it.navigate(R.id.libraryFragment)
|
||||
|
Loading…
x
Reference in New Issue
Block a user