正在查看: 小柿子 v1.3.8 应用的 SpecialActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: 小柿子 v1.3.8 应用的 SpecialActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.windmill.sdk.widget;
import android.app.Activity;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
import android.widget.FrameLayout;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.czhj.sdk.logger.SigmobLog;
import com.sjm.sjmdaly.R$style;
import com.windmill.sdk.base.WMAdapterError;
import com.windmill.sdk.base.WMLogUtil;
import com.windmill.sdk.custom.IWMCustomSplashEvent;
import com.windmill.sdk.custom.WMCustomSplashAdapter;
import com.windmill.sdk.models.BidPrice;
public class SpecialActivity extends Activity {
public static FrameLayout a;
private static a d;
private IWMCustomSplashEvent c;
private String b = getClass().getSimpleName();
private String e = "";
private boolean f = false;
private boolean f533g = false;
public interface a {
void a();
void b();
}
@Override
public void onBackPressed() {
}
@Override
public void onConfigurationChanged(@NonNull Configuration configuration) {
a aVar;
super.onConfigurationChanged(configuration);
if (!this.f533g || (aVar = d) == null) {
return;
}
aVar.b();
finish();
}
@Override
public void onCreate(@Nullable Bundle bundle) {
super.onCreate(bundle);
try {
setTheme(R$style.tobid_page);
this.e = getIntent().getStringExtra("adnName");
this.c = new IWMCustomSplashEvent() {
@Override
public void callLoadBiddingSuccess(BidPrice bidPrice) {
}
@Override
public void callLoadFail(WMAdapterError wMAdapterError) {
}
@Override
public void callLoadSuccess() {
}
@Override
public void callSplashAdClick() {
SigmobLog.i(SpecialActivity.this.b + "-----callSplashAdClick");
}
@Override
public void callSplashAdClosed() {
SigmobLog.i(SpecialActivity.this.b + "-----callSplashAdClosed");
SpecialActivity.this.finish();
}
@Override
public void callSplashAdShow() {
SigmobLog.i(SpecialActivity.this.b + "-----callSplashAdShow");
}
@Override
public void callSplashAdShowError(WMAdapterError wMAdapterError) {
SpecialActivity.this.finish();
}
@Override
public void callSplashAdSkipped() {
SigmobLog.i(SpecialActivity.this.b + "-----callSplashAdSkipped");
SpecialActivity.this.finish();
}
};
if (!"gdt".equals(this.e) && !"kuaishou".equals(this.e) && !"qumeng".equals(this.e)) {
View view = WMCustomSplashAdapter.aPageVGroup;
if (view != null) {
setContentView(view);
WMCustomSplashAdapter.aPageVGroup.setTag(this.c);
WMLogUtil.i("----adnName:name: " + this.e);
} else {
finish();
}
}
this.f533g = true;
FrameLayout frameLayout = new FrameLayout(this);
a = frameLayout;
setContentView(frameLayout);
a.setTag(this.c);
WMLogUtil.i("----adnName: GDT kuaishou");
} catch (Exception unused) {
finish();
}
}
@Override
public void onDestroy() {
super.onDestroy();
try {
FrameLayout frameLayout = a;
if (frameLayout != null) {
frameLayout.setTag("");
a = null;
}
if (d != null) {
d = null;
}
FrameLayout frameLayout2 = WMCustomSplashAdapter.aPageVGroup;
if (frameLayout2 != null) {
frameLayout2.setTag("");
WMCustomSplashAdapter.aPageVGroup = null;
}
} catch (Exception unused) {
}
}
@Override
public void onResume() {
super.onResume();
try {
setTheme(R$style.tobid_page);
a aVar = d;
if (aVar == null || this.f) {
return;
}
aVar.a();
this.f = true;
} catch (Exception unused) {
}
}
public static void a(a aVar) {
d = aVar;
}
}