diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-22 09:30:09 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:45 +0200 |
commit | 8a34e58ad644c6ddf012b85c5f73fb009b4ba593 (patch) | |
tree | 1b796fc3e3f7b70f3776c9d4f13ee42fae6cf9da /src | |
parent | android: Add data extraction rules (diff) | |
download | yuzu-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.kt | 2 |
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 = |