Aperture: Suppress InflateParams warnings

Change-Id: I9a2b068efe10694fb705167d84f913b288fd3fc4
diff --git a/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt b/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt
index 522a412..ec3004c 100644
--- a/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt
+++ b/app/src/main/java/org/lineageos/aperture/QrImageAnalyzer.kt
@@ -5,6 +5,7 @@
 
 package org.lineageos.aperture
 
+import android.annotation.SuppressLint
 import android.app.Activity
 import android.app.KeyguardManager
 import android.content.ClipData
@@ -163,6 +164,7 @@
         }
     }
 
+    @SuppressLint("InflateParams")
     private fun inflateButton(): MaterialButton {
         val button = activity.layoutInflater.inflate(
             R.layout.qr_bottom_sheet_action_button, null
diff --git a/app/src/main/java/org/lineageos/aperture/ui/LensSelectorLayout.kt b/app/src/main/java/org/lineageos/aperture/ui/LensSelectorLayout.kt
index 2824594..77b5490 100644
--- a/app/src/main/java/org/lineageos/aperture/ui/LensSelectorLayout.kt
+++ b/app/src/main/java/org/lineageos/aperture/ui/LensSelectorLayout.kt
@@ -83,6 +83,7 @@
         updateButtonsAttributes()
     }
 
+    @SuppressLint("InflateParams")
     private fun inflateButton(): Button {
         val button = layoutInflater.inflate(R.layout.lens_selector_button, null) as Button
         return button.apply {