summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-22 09:30:09 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:45 +0200
commit8a34e58ad644c6ddf012b85c5f73fb009b4ba593 (patch)
tree1b796fc3e3f7b70f3776c9d4f13ee42fae6cf9da /src
parentandroid: Add data extraction rules (diff)
downloadyuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar.gz
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar.bz2
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar.lz
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar.xz
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.tar.zst
yuzu-8a34e58ad644c6ddf012b85c5f73fb009b4ba593.zip
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 =