mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 18:32:49 -06:00
android: Suppress lint in InsetsHelper
This commit is contained in:
parent
1b40a3df19
commit
8a34e58ad6
1 changed files with 2 additions and 0 deletions
|
@ -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 =
|
||||
|
|
Loading…
Reference in a new issue