正在查看: bbinstant v6.24.0 应用的 PushTracker.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: bbinstant v6.24.0 应用的 PushTracker.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.moengage.pushbase.activities;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Keep;
import androidx.fragment.app.FragmentActivity;
import com.moengage.core.exceptions.SdkNotInitializedException;
import com.moengage.core.internal.global.d;
import com.moengage.core.internal.logger.f;
import com.moengage.core.internal.model.a0;
import com.moengage.core.internal.q;
import com.moengage.pushbase.internal.PushHelper;
import com.moengage.pushbase.internal.action.b;
import kotlin.jvm.internal.v;
@Keep
public final class PushTracker extends FragmentActivity {
private final String tag = "PushBase_6.8.1_PushTracker";
protected void onCreate(Bundle bundle) {
Intent intent;
try {
super.onCreate(bundle);
f.a.print$default(f.Companion, 0, null, new PushTracker$onCreate$1(this), 3, null);
intent = getIntent();
} catch (Exception e2) {
f.Companion.print(1, e2, new PushTracker$onCreate$3(this));
}
if (intent == null) {
throw new IllegalStateException("Intent cannot be null");
}
Bundle extras = intent.getExtras();
if (extras == null) {
throw new IllegalStateException("Intent extras cannot be empty");
}
d.notifyPreProcessListenerIfRequired(extras);
a0 sdkInstanceForPayload = PushHelper.Companion.getInstance().getSdkInstanceForPayload(extras);
if (sdkInstanceForPayload == null) {
throw new SdkNotInitializedException("Instance not initialised.");
}
boolean containsKey = extras.containsKey("gcm_webUrl");
b bVar = new b(sdkInstanceForPayload);
bVar.postClickProcessing(this);
Context applicationContext = getApplicationContext();
v.checkNotNullExpressionValue(applicationContext, "applicationContext");
bVar.showTestInAppIfRequired(applicationContext, extras);
bVar.onClick(this, extras);
if (containsKey) {
q qVar = q.INSTANCE;
Context applicationContext2 = getApplicationContext();
v.checkNotNullExpressionValue(applicationContext2, "applicationContext");
qVar.syncTrackedData(applicationContext2, sdkInstanceForPayload);
}
finish();
f.log$default(sdkInstanceForPayload.logger, 0, null, new PushTracker$onCreate$2(this), 3, null);
finish();
}
}