summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-22 04:30:09 -0400
committerbunnei <bunneidev@gmail.com>2023-06-03 00:05:45 -0700
commit8a34e58ad644c6ddf012b85c5f73fb009b4ba593 (patch)
tree1b796fc3e3f7b70f3776c9d4f13ee42fae6cf9da /src
parent1b40a3df19f3a20351667f108be8bc8bda865d30 (diff)
android: Suppress lint in InsetsHelper
Diffstat (limited to 'src')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt
index 2eae77a1d..37f08ac26 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt
@@ -1,5 +1,6 @@
package org.yuzu.yuzu_emu.utils
+import android.annotation.SuppressLint
import android.content.Context
import android.view.ViewGroup.MarginLayoutParams
import androidx.core.graphics.Insets
@@ -17,6 +18,7 @@ object InsetsHelper {
appBarLayout.layoutParams = mlpAppBar
}
+ @SuppressLint("DiscouragedApi")
fun getSystemGestureType(context: Context): Int {
val resources = context.resources
val resourceId =