正在查看: CallApp v2.226 应用的 FullScreenActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: CallApp v2.226 应用的 FullScreenActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package io.bidmachine.rendering.ad.fullscreen;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.appcompat.app.p;
import io.bidmachine.iab.utils.Utils;
import io.bidmachine.rendering.model.Error;
import io.bidmachine.rendering.utils.UiUtils;
public class FullScreenActivity extends Activity {
private static FullScreenAd b;
private FullScreenAd a;
public void b() {
}
public static void show(@NonNull Context context, @NonNull FullScreenAd fullScreenAd) {
try {
b = fullScreenAd;
Intent intent = new Intent(context, (Class<?>) FullScreenActivity.class);
intent.addFlags(268435456);
intent.addFlags(8388608);
context.startActivity(intent);
} catch (Throwable unused) {
b = null;
fullScreenAd.d(new Error("Ad is null"));
}
}
@Override
@Deprecated
public void onBackPressed() {
if (Build.VERSION.SDK_INT < 33) {
b();
}
}
@Override
public void onCreate(Bundle bundle) {
UiUtils.setActivityBackgroundColor(this, -16777216);
UiUtils.setDefaultActivityTransition(this);
super.onCreate(bundle);
FullScreenAd fullScreenAd = b;
this.a = fullScreenAd;
if (fullScreenAd == null) {
a();
return;
}
fullScreenAd.b(this);
if (Build.VERSION.SDK_INT >= 33) {
aa.a.D(aa.a.n(this), new p(this, 5));
}
}
@Override
public void onDestroy() {
super.onDestroy();
if (isChangingConfigurations()) {
return;
}
if (b == this.a) {
b = null;
}
a();
}
private void a() {
Utils.finishActivityWithoutAnimation(this);
FullScreenAd fullScreenAd = this.a;
if (fullScreenAd != null) {
fullScreenAd.r();
this.a = null;
}
}
}