正在查看: MedEd v5.3.6 应用的 WebViewPlayerActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: MedEd v5.3.6 应用的 WebViewPlayerActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.penpencil.physicswallah.feature.player.ui.activity;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.view.MotionEvent;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentContainerView;
import androidx.fragment.app.FragmentManager;
import androidx.lifecycle.n;
import androidx.navigation.e;
import androidx.navigation.fragment.NavHostFragment;
import androidx.navigation.l;
import com.appsflyer.internal.components.queue.exceptions.lWGN.vgqxKDpZbr;
import com.penpencil.physicswallah.feature.player.ui.actions.PlayerActionFragment;
import java.util.ArrayList;
import java.util.List;
import kotlin.Metadata;
import kotlin.coroutines.CoroutineContext;
import kotlin.jvm.internal.Intrinsics;
@Metadata
public final class WebViewPlayerActivity extends MR0<a7> {
public static final int e1 = 0;
public long W0;
public boolean X0;
public boolean Y0;
public final ArrayList<MotionEvent> Z0;
public boolean a1;
public long b1;
public final Xc1 c1;
public final Xc1 d1;
public WebViewPlayerActivity() {
a aVar = a.i;
((MR0) this).V0 = false;
addOnContextAvailableListener(new LR0(this));
this.Z0 = new ArrayList<>();
this.c1 = le1.b(new vn1(this, 19));
this.d1 = le1.b(new yl2(this, 11));
}
public final void W0(Ur3 ur3) {
a7 a7Var = (a7) ur3;
Intrinsics.checkNotNullParameter(a7Var, "<this>");
a7Var.x(this);
a7Var.A(X0());
}
public final void Y0(Ur3 ur3, Et3 et3) {
a7 a7Var = (a7) ur3;
Intrinsics.checkNotNullParameter(a7Var, "<this>");
Intrinsics.checkNotNullParameter((bf2) et3, "vm");
n nVar = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar, "lifecycleScope");
Lx.q(nVar, (CoroutineContext) null, (mV) null, new fy3(this, (iT) null), 3);
n nVar2 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar2, "lifecycleScope");
Lx.q(nVar2, (CoroutineContext) null, (mV) null, new gy3(this, (iT) null), 3);
n nVar3 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar3, "lifecycleScope");
Lx.q(nVar3, (CoroutineContext) null, (mV) null, new hy3(a7Var, (iT) null), 3);
n nVar4 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar4, "lifecycleScope");
Lx.q(nVar4, (CoroutineContext) null, (mV) null, new iy3(a7Var, (iT) null), 3);
}
public final void b1(boolean z, long j) {
n nVar = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar, "lifecycleScope");
Lx.q(nVar, (CoroutineContext) null, (mV) null, new a(this, z, j, (iT) null), 3);
}
public final void g(boolean z) {
}
public final void onBackPressed() {
FragmentManager childFragmentManager;
List m;
Zt2 zt2;
List list;
wm2.a.getClass();
if (wm2.g0) {
wm2.e0.j(Boolean.FALSE);
wm2.g0 = false;
return;
}
if (X0().W0 && !getResources().getBoolean(2131034120)) {
wm2.b();
return;
}
Xc1 xc1 = this.d1;
e eVar = (e) xc1.getValue();
if (eVar != null && (zt2 = eVar.i) != null && (list = (List) zt2.b.getValue()) != null && list.size() > 2) {
e eVar2 = (e) xc1.getValue();
if (eVar2 != null) {
eVar2.x();
return;
}
return;
}
NavHostFragment navHostFragment = (NavHostFragment) this.c1.getValue();
Fragment fragment = (navHostFragment == null || (childFragmentManager = navHostFragment.getChildFragmentManager()) == null || (m = childFragmentManager.c.m()) == null) ? null : (Fragment) II.P(m);
PlayerActionFragment playerActionFragment = fragment instanceof PlayerActionFragment ? (PlayerActionFragment) fragment : null;
if (playerActionFragment != null) {
vC0 vc0 = ((cs3) playerActionFragment).i;
Intrinsics.d(vc0);
FragmentContainerView fragmentContainerView = vc0.G;
Intrinsics.checkNotNullExpressionValue(fragmentContainerView, "fragmentNavHost");
if (fragmentContainerView.getVisibility() == 0) {
playerActionFragment.t1();
return;
}
}
a1().i(((Bx3) this).R0);
X0().n();
X0().N1.j(Boolean.TRUE);
finish();
}
public final void onCreate(Bundle bundle) {
super/*Bx3*/.onCreate(bundle);
wm2.a.getClass();
wm2.f();
}
public final void onPause() {
a7 U0 = U0();
U0.B.loadUrl("javascript:getCurrentPos()");
U0.B.onPause();
((Bx3) this).O0 = true;
wm2.a.getClass();
wm2.i();
super/*androidx.fragment.app.e*/.onPause();
CountDownTimer countDownTimer = ((Bx3) this).S0;
if (countDownTimer != null) {
countDownTimer.cancel();
}
}
public final void onResume() {
a7 U0 = U0();
((Bx3) this).O0 = false;
U0.B.onResume();
if (!((Bx3) this).P0) {
b1(false, 0L);
}
if (((Bx3) this).N0) {
getWindow().getDecorView().setSystemUiVisibility(5382);
}
super/*androidx.fragment.app.e*/.onResume();
a7 U02 = U0();
Intrinsics.d(U02);
a7 a7Var = U02;
CountDownTimer countDownTimer = ((Bx3) this).S0;
if (countDownTimer != null) {
countDownTimer.cancel();
}
((Bx3) this).S0 = new my3(a7Var, this).start();
}
public final void onStop() {
super/*ag*/.onStop();
X0().D(((Bx3) this).R0);
a1().l(((Bx3) this).R0);
jr3 a1 = a1();
n nVar = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar, "lifecycleScope");
a1.k(nVar);
}
public final void V0(Ur3 ur3) {
a7 a7Var = (a7) ur3;
Intrinsics.checkNotNullParameter(a7Var, "<this>");
System.currentTimeMillis();
getResources().getBoolean(2131034120);
ArrayList arrayList = new ArrayList();
Intrinsics.checkNotNullParameter(arrayList, vgqxKDpZbr.SOScUEc);
((Bx3) this).Q0 = arrayList;
Z0().add("ytp-youtube-button ytp-button yt-uix-sessionlink");
Z0().add("ytp-button ytp-endscreen-next");
Z0().add("ytp-button ytp-endscreen-previous");
Z0().add("ytp-show-cards-title");
Z0().add("ytp-endscreen-content");
Z0().add("ytp-chrome-top");
Z0().add("ytp-pause-overlay");
String str = PV1.b;
a.a(this).f(this, new d(new WL0(this, 7)));
n nVar = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar, "lifecycleScope");
Lx.q(nVar, (CoroutineContext) null, (mV) null, new ly3(this, (iT) null), 3);
n nVar2 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar2, "lifecycleScope");
Lx.q(nVar2, (CoroutineContext) null, (mV) null, new by3(a7Var, this, (iT) null), 3);
e eVar = (e) this.d1.getValue();
if (eVar != null) {
l b = eVar.p().b(2131820548);
if (X0().q() != null || ((Boolean) X0().k0.getValue()).booleanValue()) {
b.L(2131363277);
} else {
b.L(2131363446);
}
eVar.H(b, getIntent().getExtras());
}
n nVar3 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar3, "lifecycleScope");
Lx.q(nVar3, (CoroutineContext) null, (mV) null, new cy3(a7Var, this, (iT) null), 3);
n nVar4 = ((rp) this).F0;
Intrinsics.checkNotNullExpressionValue(nVar4, "lifecycleScope");
Lx.q(nVar4, (CoroutineContext) null, (mV) null, new ey3(this, (iT) null), 3);
}
}