playback: fix lints

This commit is contained in:
Alexander Capehart
2026-06-14 22:07:25 -06:00
parent 79c107b704
commit 7537f6ae95
@@ -1,3 +1,21 @@
/*
* Copyright (c) 2026 Auxio Project
* RoundModeMaskableFrameLayout.kt is part of Auxio.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package org.oxycblt.auxio.playback.ui
import android.content.Context
@@ -5,17 +23,15 @@ import android.util.AttributeSet
import com.google.android.material.carousel.MaskableFrameLayout
import com.google.android.material.shape.ShapeAppearanceModel
import dagger.hilt.android.AndroidEntryPoint
import org.oxycblt.auxio.ui.UISettings
import javax.inject.Inject
import org.oxycblt.auxio.ui.UISettings
@AndroidEntryPoint
class RoundModeMaskableFrameLayout @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleRes: Int = -1
) : MaskableFrameLayout(context, attrs, defStyleRes) {
@Inject
lateinit var uiSettings: UISettings
class RoundModeMaskableFrameLayout
@JvmOverloads
constructor(context: Context, attrs: AttributeSet? = null, defStyleRes: Int = -1) :
MaskableFrameLayout(context, attrs, defStyleRes) {
@Inject lateinit var uiSettings: UISettings
init {
// The parent FrameLayout will have already fetched/applied a rounded shape appearance
@@ -24,4 +40,4 @@ class RoundModeMaskableFrameLayout @JvmOverloads constructor(
shapeAppearanceModel = ShapeAppearanceModel.builder().build()
}
}
}
}