From 7cbb533270f02e1ee3bc940b8852837c76da4054 Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 14 May 2021 10:26:32 +0200 Subject: [PATCH] ignore the newApi at a fullscreen mode function --- .../gallery/pro/activities/ViewPagerActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt index dce1b4e33..5c372a28c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/ViewPagerActivity.kt @@ -324,7 +324,7 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View } } - @RequiresApi(Build.VERSION_CODES.N) + @SuppressLint("NewApi") private fun initContinue() { if (intent.extras?.containsKey(IS_VIEW_INTENT) == true) { if (isShowHiddenFlagNeeded()) {