2021-08-03 07:33:18 +00:00
|
|
|
package com.discord.widgets.changelog;
|
|
|
|
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.VideoView;
|
2021-10-15 06:18:26 +00:00
|
|
|
import c0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
/* compiled from: WidgetChangeLog.kt */
|
|
|
|
public final class WidgetChangeLog$configureMedia$2 implements View.OnClickListener {
|
|
|
|
public final /* synthetic */ WidgetChangeLog this$0;
|
|
|
|
|
|
|
|
public WidgetChangeLog$configureMedia$2(WidgetChangeLog widgetChangeLog) {
|
|
|
|
this.this$0 = widgetChangeLog;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
|
|
public final void onClick(View view) {
|
|
|
|
VideoView videoView = WidgetChangeLog.access$getBinding$p(this.this$0).h;
|
|
|
|
m.checkNotNullExpressionValue(videoView, "binding.changeLogVideo");
|
|
|
|
if (videoView.isPlaying()) {
|
|
|
|
WidgetChangeLog.access$showVideoOverlay(this.this$0);
|
|
|
|
WidgetChangeLog.access$getBinding$p(this.this$0).h.pause();
|
|
|
|
} else {
|
|
|
|
WidgetChangeLog.access$hideVideoOverlay(this.this$0);
|
|
|
|
WidgetChangeLog.access$getBinding$p(this.this$0).h.start();
|
|
|
|
}
|
|
|
|
WidgetChangeLog.track$default(this.this$0, "change_log_video_interacted", null, false, 2, null);
|
|
|
|
}
|
|
|
|
}
|