正在查看: Minits v4.9.3.32 应用的 XOneFirebaseMessagingService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Minits v4.9.3.32 应用的 XOneFirebaseMessagingService.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.xone.android.push;
import D9.e;
import P5.O;
import P5.S;
import android.text.TextUtils;
import com.google.firebase.messaging.FirebaseMessagingService;
import com.xone.android.utils.Utils;
public final class XOneFirebaseMessagingService extends FirebaseMessagingService {
public static String u(S s) {
int a = s.a();
return a != 0 ? a != 1 ? a != 2 ? a != 3 ? a != 4 ? "" : "ERROR_TOO_MANY_MESSAGES" : "ERROR_TTL_EXCEEDED" : "ERROR_SIZE" : "ERROR_INVALID_PARAMETERS" : "ERROR_UNKNOWN";
}
public void o() {
Utils.l("XOneAndroidFramework", "Firebase has deleted pending push messages for this app because the device was inactive for a long time or because too many push messages were sent when the device was offline. You should do a full data synchronization with the server");
}
public void p(O o) {
Utils.l("FrameworkPushService", "New push message received");
new e(getApplicationContext()).I(o.l1());
}
public void q(String str) {
if (TextUtils.isEmpty(str)) {
str = "Empty";
}
Utils.l("XOneAndroidFramework", "Upstream push message sent successfully. Message ID: " + str);
}
public void r(String str) {
if (TextUtils.isEmpty(str)) {
str = "Empty";
}
Utils.l("XOneAndroidFramework", "New push token received: " + str);
}
public void s(String str, Exception exc) {
if (TextUtils.isEmpty(str)) {
str = "Empty";
}
StringBuilder sb2 = new StringBuilder();
sb2.append("Error sending upstream push message. Message ID: ");
sb2.append(str);
if (exc instanceof S) {
sb2.append("\nError message returned from Firebase: ");
sb2.append(u((S) exc));
}
Utils.k("XOneAndroidFramework", sb2);
if (exc != null) {
exc.printStackTrace();
}
}
}