正在查看: Engineering Physics 2 v13.0 应用的 NotificationOpenedActivityHMS.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Engineering Physics 2 v13.0 应用的 NotificationOpenedActivityHMS.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.onesignal;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import defpackage.Zp;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public class NotificationOpenedActivityHMS extends Activity {
public final void a() {
JSONObject f;
Intent intent = getIntent();
y.y(getApplicationContext());
if (intent != null) {
if (Zp.s(intent.getExtras())) {
f = AbstractC0027c.f(intent.getExtras());
try {
String str = (String) new JSONObject(f.optString("custom")).remove("actionId");
if (str != null) {
f.put("actionId", str);
}
} catch (JSONException e) {
e.printStackTrace();
}
} else {
f = null;
}
if (f != null && !Mf.u(this, f)) {
y.v(this, new JSONArray().put(f), Zp.o(f));
}
}
finish();
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
a();
}
@Override
public final void onNewIntent(Intent intent) {
super.onNewIntent(intent);
a();
}
}