正在查看: Oolka v2.4.42 应用的 DeeplinkInterstitialActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Oolka v2.4.42 应用的 DeeplinkInterstitialActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.freshchat.consumer.sdk.activity;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
public class DeeplinkInterstitialActivity extends Activity {
public static final String a = "com.freshchat.consumer.sdk.activity.DeeplinkInterstitialActivity";
Intent eN = null;
@Override
public void onCreate(Bundle bundle) {
Uri parse;
super.onCreate(bundle);
Intent bS = com.freshchat.consumer.sdk.util.cc.bS(getApplicationContext());
Intent intent = getIntent();
this.eN = intent;
long j = 0;
try {
j = intent.getLongExtra("MARKETING_ID", -1L);
boolean booleanExtra = this.eN.getBooleanExtra("NOTIFICATION_CLICKED", false);
com.freshchat.consumer.sdk.util.co.a(a, "Marketing message with id : " + j + ", clicked: " + booleanExtra);
if (booleanExtra) {
com.freshchat.consumer.sdk.util.cc.q(getApplicationContext(), j);
}
} catch (Exception e) {
com.freshchat.consumer.sdk.util.aj.a(e);
}
try {
if (this.eN.hasExtra("DEEPLINK_URL")) {
String stringExtra = this.eN.getStringExtra("DEEPLINK_URL");
if (com.freshchat.consumer.sdk.util.ds.a((CharSequence) stringExtra) && (parse = Uri.parse(stringExtra)) != null) {
Bundle bundle2 = new Bundle();
bundle2.putLong("MARKETING_ID", j);
com.freshchat.consumer.sdk.util.ae.d(getApplicationContext(), parse, bundle2);
}
} else if (this.eN.getBooleanExtra("LAUNCH_APP_ON_CLICK", false)) {
bS = com.freshchat.consumer.sdk.util.cc.bS(getApplicationContext());
}
if (bS != null) {
bS.putExtras(this.eN.getExtras());
startActivityForResult(bS, 0);
}
} catch (Exception e2) {
com.freshchat.consumer.sdk.util.aj.a(e2);
}
finish();
}
}