Commit 6b30f856 authored by Geoffrey Métais's avatar Geoffrey Métais

Don't show audioplayer tips if playing on renderer

parent de5e8395
......@@ -201,7 +201,7 @@ open class AudioPlayerContainerActivity : BaseActivity() {
*/
@SuppressLint("RestrictedApi")
fun showTipViewIfNeeded(stubId: Int, settingKey: String) {
if (BuildConfig.DEBUG) return
if (BuildConfig.DEBUG || PlaybackService.hasRenderer()) return
val vsc = findViewById<View>(stubId)
if (vsc != null && !settings.getBoolean(settingKey, false) && !Settings.showTvUi) {
val v = (vsc as ViewStubCompat).inflate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment