正在查看: Uptodown App Store v6.80 应用的 TvAppDetailActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Uptodown App Store v6.80 应用的 TvAppDetailActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.uptodown.tv.ui.activity;
import R2.n;
import R2.s;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import com.uptodown.tv.ui.activity.TvAppDetailActivity;
import com.uptodown.tv.ui.fragment.TvAppDetailFragment;
import d3.p;
import g2.C0965p;
import java.util.List;
import kotlin.coroutines.jvm.internal.l;
import kotlin.jvm.internal.m;
import o3.J;
import o3.Y;
import o3.g;
import q2.AbstractC1115b;
public final class TvAppDetailActivity extends AbstractC1115b {
public final class a implements Runnable {
public a() {
}
@Override
public void run() {
List fragments = TvAppDetailActivity.this.getSupportFragmentManager().getFragments();
m.d(fragments, "getFragments(...)");
if (fragments.size() > 0) {
TvAppDetailFragment tvAppDetailFragment = (Fragment) fragments.get(0);
if (tvAppDetailFragment instanceof TvAppDetailFragment) {
tvAppDetailFragment.b0();
}
}
}
}
public final class b implements Runnable {
private final String a;
private final int b;
final TvAppDetailActivity c;
public b(TvAppDetailActivity tvAppDetailActivity, String packagename, int i) {
m.e(packagename, "packagename");
this.c = tvAppDetailActivity;
this.a = packagename;
this.b = i;
}
@Override
public void run() {
List fragments = this.c.getSupportFragmentManager().getFragments();
m.d(fragments, "getFragments(...)");
if (fragments.size() > 0) {
TvAppDetailFragment tvAppDetailFragment = (Fragment) fragments.get(0);
if (tvAppDetailFragment instanceof TvAppDetailFragment) {
tvAppDetailFragment.K0(this.b, this.a);
}
}
}
}
public final class c implements Runnable {
private final int a;
private final C0965p b;
public c(int i, C0965p c0965p) {
this.a = i;
this.b = c0965p;
}
public static final void b(Fragment fragment, c cVar) {
((TvAppDetailFragment) fragment).M0(cVar.a, cVar.b);
}
@Override
public void run() {
List fragments = TvAppDetailActivity.this.getSupportFragmentManager().getFragments();
m.d(fragments, "getFragments(...)");
if (fragments.size() > 0) {
final Fragment fragment = (Fragment) fragments.get(0);
if (fragment instanceof TvAppDetailFragment) {
TvAppDetailActivity.this.runOnUiThread(new Runnable() {
@Override
public final void run() {
TvAppDetailActivity.c.b(fragment, this);
}
});
}
}
}
}
static final class d extends l implements p {
int a;
final String c;
d(String str, V2.d dVar) {
super(2, dVar);
this.c = str;
}
@Override
public final V2.d create(Object obj, V2.d dVar) {
return TvAppDetailActivity.this.new d(this.c, dVar);
}
@Override
public final Object invokeSuspend(Object obj) {
W2.b.c();
if (this.a != 0) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
n.b(obj);
List fragments = TvAppDetailActivity.this.getSupportFragmentManager().getFragments();
m.d(fragments, "getFragments(...)");
if (fragments.size() > 0) {
TvAppDetailFragment tvAppDetailFragment = (Fragment) fragments.get(0);
if (tvAppDetailFragment instanceof TvAppDetailFragment) {
tvAppDetailFragment.L0(this.c);
}
}
return s.a;
}
@Override
public final Object invoke(J j, V2.d dVar) {
return ((d) create(j, dVar)).invokeSuspend(s.a);
}
}
public final Object n(String str, V2.d dVar) {
Object g = g.g(Y.c(), new d(str, null), dVar);
return g == W2.b.c() ? g : s.a;
}
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558845);
}
}