正在查看: Minits v4.9.3.32 应用的 ReplicaConsoleActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 ReplicaConsoleActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.xone.android.framework.activities;
import C0.b;
import N0.B0;
import N0.I;
import N0.Z;
import ab.AbstractC0399a;
import android.R;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageButton;
import android.widget.TextView;
import androidx.lifecycle.G;
import androidx.lifecycle.s;
import androidx.recyclerview.widget.RecyclerView;
import b8.RunnableC0506y1;
import c8.C0536n;
import com.xone.android.framework.AbstractC0564f;
import com.xone.android.framework.AbstractC0565g;
import com.xone.android.framework.activities.ReplicaConsoleActivity;
import com.xone.android.framework.xoneApp;
import com.xone.android.utils.Utils;
import fa.ThreadFactoryC0686d;
import g.c;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import q8.C0971a;
import q8.C0972b;
public final class ReplicaConsoleActivity extends c {
public String l;
public C0536n m;
public TextView n;
public TextView o;
public TextView p;
public TextView q;
public TextView r;
public ScheduledExecutorService s;
public C0972b t;
public static B0 l0(View view, B0 b0) {
b f = b0.f(B0.o.d());
ViewGroup.MarginLayoutParams marginLayoutParams = (ViewGroup.MarginLayoutParams) view.getLayoutParams();
marginLayoutParams.topMargin = f.b;
marginLayoutParams.leftMargin = f.a;
marginLayoutParams.bottomMargin = f.d;
marginLayoutParams.rightMargin = f.c;
view.setLayoutParams(marginLayoutParams);
return B0.b;
}
public void o0() {
throw new UnsupportedOperationException("Method not decompiled: com.xone.android.framework.activities.ReplicaConsoleActivity.o0():void");
}
private boolean t0() {
return Thread.currentThread().isInterrupted();
}
public static void w0(TextView textView, String str) {
if (textView == null) {
return;
}
textView.setText(str);
}
public void onCreate(Bundle bundle) {
super/*androidx.fragment.app.j*/.onCreate(bundle);
setContentView(AbstractC0565g.z);
try {
this.n = (TextView) findViewById(AbstractC0564f.p1);
this.o = (TextView) findViewById(AbstractC0564f.u1);
this.p = (TextView) findViewById(AbstractC0564f.r1);
this.q = (TextView) findViewById(AbstractC0564f.s1);
this.r = (TextView) findViewById(AbstractC0564f.t1);
RecyclerView findViewById = findViewById(AbstractC0564f.q1);
ImageButton imageButton = (ImageButton) findViewById(AbstractC0564f.v1);
C0972b c0972b = (C0972b) new G(this).a(C0972b.class);
this.t = c0972b;
c0972b.f(this, new s() {
public final void a(Object obj) {
ReplicaConsoleActivity.this.v0((C0971a) obj);
}
});
if (imageButton != null) {
final Context applicationContext = getApplicationContext();
imageButton.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
Utils.k4(applicationContext, "ReplicaConsole", null, null);
}
});
}
C0536n c0536n = new C0536n(this);
this.m = c0536n;
findViewById.setAdapter(c0536n);
AbstractC0399a.m(this, xoneApp.Z0().E1());
this.l = getIntent().getStringExtra("appname");
p0();
if (TextUtils.isEmpty(this.l)) {
finish();
return;
}
s0();
if (this.s == null) {
this.s = Executors.newSingleThreadScheduledExecutor(new ThreadFactoryC0686d("ReplicaConsoleExecutor"));
}
this.s.submit(new RunnableC0506y1(this));
if (Build.VERSION.SDK_INT >= 35) {
Z.F0(findViewById(R.id.content), new I() {
public final N0.B0 a(View view, N0.B0 b0) {
return ReplicaConsoleActivity.l0(view, b0);
}
});
}
} catch (Exception e) {
e.printStackTrace();
}
}
public void onDestroy() {
super.onDestroy();
try {
ScheduledExecutorService scheduledExecutorService = this.s;
if (scheduledExecutorService != null) {
scheduledExecutorService.shutdownNow();
this.s = null;
}
} catch (Exception e) {
e.printStackTrace();
}
}
public void onPause() {
super/*androidx.fragment.app.j*/.onPause();
finish();
}
public final void p0() {
StringBuilder sb2 = new StringBuilder();
sb2.append("App Version: ");
sb2.append(((xoneApp) getApplication()).e1());
sb2.append("\r\n");
PackageManager packageManager = getPackageManager();
PackageInfo f2 = Utils.f2(packageManager, getPackageName());
PackageInfo f22 = Utils.f2(packageManager, "com.xone.live.services");
if (f2 != null) {
sb2.append("XOne Framework: ");
sb2.append(f2.versionName);
sb2.append("\r\n");
}
if (f22 != null) {
sb2.append("XOne Live: ");
sb2.append(f22.versionName);
sb2.append("\r\n");
}
TextView textView = (TextView) findViewById(AbstractC0564f.w1);
if (textView != null) {
textView.setText(sb2.toString());
}
}
public void r0(Exception exc) {
exc.printStackTrace();
}
public final void s0() {
throw new UnsupportedOperationException("Method not decompiled: com.xone.android.framework.activities.ReplicaConsoleActivity.s0():void");
}
public final void v0(C0971a c0971a) {
String a = c0971a.a();
String b = c0971a.b();
String c = c0971a.c();
this.p.setText(a);
this.r.setText(b);
this.q.setText(c);
}
}