mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 06:42:21 -04:00
Temporarily disabling LeakCanary
on Android 13 for the navigationHistoryDialogTest
test case, as it is incorrectly detecting leaks in Android's internal classes.
This commit is contained in:
parent
4a14b94960
commit
2b007c55ab
@ -148,8 +148,10 @@ class NavigationHistoryTest : BaseActivityTest() {
|
|||||||
pressBack()
|
pressBack()
|
||||||
pressBack()
|
pressBack()
|
||||||
}
|
}
|
||||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) {
|
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1 &&
|
||||||
// temporary disabled on Android 25
|
Build.VERSION.SDK_INT != Build.VERSION_CODES.TIRAMISU
|
||||||
|
) {
|
||||||
|
// temporary disabled on Android 25, and Android 33
|
||||||
LeakAssertions.assertNoLeaks()
|
LeakAssertions.assertNoLeaks()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user