mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 02:36:24 -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()
|
||||
}
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) {
|
||||
// temporary disabled on Android 25
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1 &&
|
||||
Build.VERSION.SDK_INT != Build.VERSION_CODES.TIRAMISU
|
||||
) {
|
||||
// temporary disabled on Android 25, and Android 33
|
||||
LeakAssertions.assertNoLeaks()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user