正在查看: Pesohere v1.0.5 应用的 PushMessagePesoHereService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Pesohere v1.0.5 应用的 PushMessagePesoHereService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.cow.here.uicowhereanddto.scowhereervice;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Intent;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Build;
import com.cow.here.appcowherelication.AppCowHereLication;
import com.cow.here.uicowhereanddto.acowherectivity.MoreDataCowHereActivity;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.pesohere.android.R;
import com.wang.avi.BuildConfig;
import d.i.e.i;
import f.c.a.c;
import f.c.a.e.a;
import f.c.a.i.f;
import f.e.c.z.s0;
import f.e.d.m;
import i.u.b.f;
import java.util.Map;
public final class PushMessagePesoHereService extends FirebaseMessagingService {
public int b;
public final void c(String str, String str2) {
this.b++;
Intent intent = new Intent(this, (Class<?>) MoreDataCowHereActivity.class);
intent.addFlags(67108864);
intent.putExtra(c.a("AwAfDg=="), f.l(c.a("AwAfDl8="), Integer.valueOf(this.b)));
PendingIntent activity = PendingIntent.getActivity(this, this.b, intent, 67108864);
String a = c.a("DgkTBQsRHA==");
if (str != null) {
}
str = getResources().getString(R.string.app_name);
f.e(str, c.a("HwQBBBAGExYcRgIXET4VAAILE1ghQRsRAAwDBlwKFQQvHQ4FAFs="));
Uri defaultUri = RingtoneManager.getDefaultUri(2);
i.e eVar = new i.e(this, a);
eVar.u(R.mipmap.a5);
eVar.k(str);
eVar.j(str2);
eVar.f(true);
eVar.v(defaultUri);
eVar.i(activity);
f.e(eVar, c.a("LxQbBwERAlsbAAwBSU0CGgoLGhUfJgxMkOXLFRcFET0eBwoGEVoVCA8WAgsTOR0bDQsGTA=="));
Object systemService = getSystemService(c.a("Aw4GAgMdExIbAQoc"));
if (systemService == null) {
throw new NullPointerException(c.a("AxQeB0UXER0BBxFSBwhBEQoWAFAHAEgLHQtADwcHCVQECh8NRRMLCRMdAgFaEQMfRisdEQQHGwgEABkcASUEHAQKBAA="));
}
NotificationManager notificationManager = (NotificationManager) systemService;
if (Build.VERSION.SDK_INT >= 26) {
notificationManager.createNotificationChannel(new NotificationChannel(a, c.a("LgkTBQsRHA=="), 3));
}
notificationManager.notify(this.b, eVar.b());
}
public final void d(String str) {
a.c().l(str);
String f2 = a.c().f();
f.e(f2, c.a("CgQGKAoDOBYdDSwcFhkAHAgAXFldDAcSOgAfBCcYAAY5Fw=="));
f.c.a.i.f.a.c(str, f2.length() == 0 ? 2 : 1);
}
@Override
public void onMessageReceived(s0 s0Var) {
String a;
f.f(s0Var, c.a("HwQfBBERPRYcGwQVAA=="));
AppCowHereLication.f440c = true;
f.a aVar = f.c.a.i.f.a;
String a2 = c.a("BQ4fDjoaHwcGDgwRBBkIHQU6BhUQCgETFwE=");
String str = BuildConfig.FLAVOR;
aVar.a(a2, BuildConfig.FLAVOR);
s0.b a3 = s0Var.a();
if (a3 != null && (a = a3.a()) != null) {
c(a3.c(), a);
}
Map<String, String> data = s0Var.getData();
if (data == null) {
return;
}
m mVar = new m();
String str2 = BuildConfig.FLAVOR;
for (String str3 : data.keySet()) {
if (str3.equals(c.a("Aw4GAgMdExIbAQocMQQVHg4="))) {
str2 = data.get(str3);
} else if (str3.equals(c.a("Aw4GAgMdExIbAQocJwIFCw=="))) {
str = data.get(str3);
} else {
mVar.i(str3, data.get(str3));
}
}
if (mVar.size() > 0) {
AppCowHereLication.f444g = mVar;
}
if (str != null) {
if (str.length() > 0) {
c(str2, str);
}
}
}
@Override
public void onNewToken(String str) {
i.u.b.f.f(str, c.a("GQ4ZDgs="));
d(str);
}
}