正在查看: Crédito Express v1.0.3 应用的 NewLiveActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Crédito Express v1.0.3 应用的 NewLiveActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.creditoexpress.creditloan.ribbing.page;
import android.content.Intent;
import android.graphics.Outline;
import android.os.Handler;
import android.util.Size;
import android.view.View;
import android.view.ViewOutlineProvider;
import androidx.camera.core.ImageCaptureException;
import androidx.camera.core.h;
import androidx.camera.core.j;
import androidx.camera.core.m;
import androidx.camera.lifecycle.e;
import com.creditoexpress.creditloan.bunked.BaseActivity;
import com.creditoexpress.creditloan.ribbing.page.NewLiveActivity;
import java.io.File;
import n2.c;
import s.k;
public class NewLiveActivity extends BaseActivity {
public c K;
public j L;
public e M;
public String N;
public String O;
public class a extends ViewOutlineProvider {
public a() {
}
@Override
public void getOutline(View view, Outline outline) {
outline.setRoundRect(0, 0, view.getWidth(), view.getHeight(), view.getHeight() / 2.0f);
}
}
public class b implements j.n {
public final boolean f5223a;
public b(boolean z6) {
this.f5223a = z6;
}
@Override
public void a(j.p pVar) {
if (this.f5223a) {
NewLiveActivity.this.setResult(-1, new Intent());
NewLiveActivity.this.finish();
}
}
@Override
public void b(ImageCaptureException imageCaptureException) {
}
}
public final void U0() {
m c7 = new m.a().c();
h c8 = new h.b().c();
this.L = new j.h().f(1).k(new Size(600, 600)).c();
k b7 = new k.a().d(0).b();
this.M.m();
c7.R(this.K.f9207d.getSurfaceProvider());
this.M.e(this, b7, this.L, c8, c7);
}
public final void V0() {
try {
this.M = (e) e.f(this).get();
U0();
} catch (Exception e7) {
e7.printStackTrace();
}
}
public final void W0() {
a1(this.O, false);
}
public final void X0(View view) {
finish();
}
public final void Y0(View view) {
a1(this.N, true);
}
public final void Z0() {
this.K.f9205b.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
NewLiveActivity.this.X0(view);
}
});
this.K.f9207d.setOutlineProvider(new a());
this.K.f9207d.setClipToOutline(true);
this.K.f9206c.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
NewLiveActivity.this.Y0(view);
}
});
}
public final void a1(String str, boolean z6) {
if (this.L == null || str.isEmpty()) {
return;
}
this.L.q0(new j.o.a(new File(str)).a(), r0.a.getMainExecutor(this), new b(z6));
}
@Override
public void onDestroy() {
this.M.m();
super.onDestroy();
}
@Override
public void t0() {
this.N = getIntent().getStringExtra("ducally");
this.O = getIntent().getStringExtra("doter");
getWindow().getAttributes().screenBrightness = 1.0f;
Z0();
e.f(this).a(new Runnable() {
@Override
public final void run() {
NewLiveActivity.this.V0();
}
}, r0.a.getMainExecutor(this));
new Handler().postDelayed(new Runnable() {
@Override
public final void run() {
NewLiveActivity.this.W0();
}
}, 1100L);
}
@Override
public void w0() {
c d7 = c.d(getLayoutInflater());
this.K = d7;
setContentView(d7.a());
N0(this.K.a());
}
}