正在查看: Mitra Bukalapak v2.55.0 应用的 NotificationTrampolineActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Mitra Bukalapak v2.55.0 应用的 NotificationTrampolineActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.braze.push;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.braze.BrazeInternal;
import com.braze.Constants;
import com.braze.coroutine.BrazeCoroutineScope;
import com.braze.push.BrazePushReceiver;
import com.braze.support.BrazeLogger;
import defpackage.ex2;
import defpackage.p64;
import defpackage.r31;
import kotlin.Metadata;
@Metadata(d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\b\u0010\tJ\u0012\u0010\u0005\u001a\u00020\u00042\b\u0010\u0003\u001a\u0004\u0018\u00010\u0002H\u0014J\b\u0010\u0006\u001a\u00020\u0004H\u0014J\b\u0010\u0007\u001a\u00020\u0004H\u0014¨\u0006\n"}, d2 = {"Lcom/braze/push/NotificationTrampolineActivity;", "Landroid/app/Activity;", "Landroid/os/Bundle;", "savedInstanceState", "Llm9;", "onCreate", "onResume", "onPause", "<init>", "()V", "android-sdk-ui_release"}, k = 1, mv = {1, 8, 0})
public final class NotificationTrampolineActivity extends Activity {
@Override
protected void onCreate(Bundle bundle) {
super.onCreate(bundle);
if (BrazeInternal.INSTANCE.getConfigurationProvider(this).getShouldUseWindowFlagSecureInActivities()) {
getWindow().setFlags(8192, 8192);
}
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, BrazeLogger.Priority.V, (Throwable) null, (ex2) onCreate.1.INSTANCE, 2, (Object) null);
}
@Override
protected void onPause() {
super.onPause();
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, BrazeLogger.Priority.V, (Throwable) null, (ex2) onPause.1.INSTANCE, 2, (Object) null);
finish();
}
@Override
protected void onResume() {
Intent intent;
super.onResume();
try {
intent = getIntent();
} catch (Exception e) {
BrazeLogger.INSTANCE.brazelog(this, BrazeLogger.Priority.E, e, (ex2<String>) onResume.5.INSTANCE);
}
if (intent == null) {
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, (BrazeLogger.Priority) null, (Throwable) null, (ex2) onResume.1.INSTANCE, 3, (Object) null);
finish();
return;
}
String action = intent.getAction();
if (action == null) {
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, (BrazeLogger.Priority) null, (Throwable) null, (ex2) onResume.2.INSTANCE, 3, (Object) null);
finish();
return;
}
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, BrazeLogger.Priority.V, (Throwable) null, (ex2) new onResume.3(intent), 2, (Object) null);
Intent intent2 = new Intent(action).setClass(this, BrazeNotificationUtils.getNotificationReceiverClass());
p64.g(intent2, "Intent(action).setClass(…otificationReceiverClass)");
Bundle extras = intent.getExtras();
if (extras != null) {
intent2.putExtras(extras);
}
if (Constants.isAmazonDevice()) {
BrazePushReceiver.Companion.handleReceivedIntent$default(BrazePushReceiver.Companion, this, intent2, false, 4, (Object) null);
} else {
BrazePushReceiver.Companion.handleReceivedIntent(this, intent2, false);
}
BrazeLogger.brazelog$default(BrazeLogger.INSTANCE, (Object) this, BrazeLogger.Priority.V, (Throwable) null, (ex2) onResume.6.INSTANCE, 2, (Object) null);
BrazeCoroutineScope.launchDelayed$default(BrazeCoroutineScope.INSTANCE, 200, null, new onResume.7(this, (r31) null), 2, null);
}
}