From 8a34e58ad644c6ddf012b85c5f73fb009b4ba593 Mon Sep 17 00:00:00 2001 From: Charles Lombardo Date: Wed, 22 Mar 2023 04:30:09 -0400 Subject: android: Suppress lint in InsetsHelper --- src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/InsetsHelper.kt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 = -- cgit v1.2.3