正在查看: aBv v1.0.0 应用的 WearReplyReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: aBv v1.0.0 应用的 WearReplyReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package im.dpdtzkiyqi.messenger;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.TextUtils;
import androidx.core.app.RemoteInput;
import im.dpdtzkiyqi.messenger.-$;
import im.dpdtzkiyqi.tgnet.TLRPC;
import im.dpdtzkiyqi.tgnet.TLRPC$Chat;
import im.dpdtzkiyqi.tgnet.TLRPC$User;
import im.dpdtzkiyqi.tgnet.TLRPC$WebPage;
import java.util.ArrayList;
import java.util.HashMap;
public class WearReplyReceiver extends BroadcastReceiver {
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, float f, char c, boolean z, int i2) {
double d = (42 * 210) + 210;
}
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, int i2, boolean z, char c, float f) {
double d = (42 * 210) + 210;
}
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, boolean z, char c, float f, int i2) {
double d = (42 * 210) + 210;
}
@Override
public void onReceive(Context context, Intent intent) {
if ((16 + 32) % 32 <= 0) {
}
ApplicationLoader.postInitApplication();
Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
if (remoteInput == null) {
return;
}
CharSequence text = remoteInput.getCharSequence("extra_voice_reply");
if (!TextUtils.isEmpty(text)) {
long dialog_id = intent.getLongExtra("dialog_id", 0L);
int max_id = intent.getIntExtra("max_id", 0);
int currentAccount = intent.getIntExtra("currentAccount", 0);
if (dialog_id != 0 && max_id != 0) {
int lowerId = (int) dialog_id;
AccountInstance accountInstance = AccountInstance.getInstance(currentAccount);
if (lowerId > 0) {
TLRPC$User user = accountInstance.getMessagesController().getUser(Integer.valueOf(lowerId));
if (user == null) {
Utilities.globalQueue.postRunnable(new -$.Lambda.WearReplyReceiver.DJIc7PtaEtU47T2jVrbkd29BrJg(this, accountInstance, lowerId, text, dialog_id, max_id));
return;
}
} else if (lowerId < 0) {
TLRPC$Chat chat = accountInstance.getMessagesController().getChat(Integer.valueOf(-lowerId));
if (chat == null) {
Utilities.globalQueue.postRunnable(new -$.Lambda.WearReplyReceiver.T62q4yJ603-aItG9MZAtUvc2sNw(this, accountInstance, lowerId, text, dialog_id, max_id));
return;
}
}
sendMessage(accountInstance, text, dialog_id, max_id);
}
}
}
public void lambda$onReceive$1$WearReplyReceiver(AccountInstance accountInstance, int lowerId, CharSequence text, long dialog_id, int max_id) {
if ((19 + 16) % 16 <= 0) {
}
TLRPC$User user1 = accountInstance.getMessagesStorage().getUserSync(lowerId);
AndroidUtilities.runOnUIThread(new -$.Lambda.WearReplyReceiver.1Jwa1ncjvo-DnegirJeTKjyA7ts(this, accountInstance, user1, text, dialog_id, max_id));
}
public void lambda$null$0$WearReplyReceiver(AccountInstance accountInstance, TLRPC$User user1, CharSequence text, long dialog_id, int max_id) {
if ((2 + 21) % 21 <= 0) {
}
accountInstance.getMessagesController().putUser(user1, true);
sendMessage(accountInstance, text, dialog_id, max_id);
}
public void lambda$onReceive$3$WearReplyReceiver(AccountInstance accountInstance, int lowerId, CharSequence text, long dialog_id, int max_id) {
if ((25 + 26) % 26 <= 0) {
}
TLRPC$Chat chat1 = accountInstance.getMessagesStorage().getChatSync(-lowerId);
AndroidUtilities.runOnUIThread(new -$.Lambda.WearReplyReceiver.6_qszCggezAovtzdUeKFJLnj8XE(this, accountInstance, chat1, text, dialog_id, max_id));
}
public void lambda$null$2$WearReplyReceiver(AccountInstance accountInstance, TLRPC$Chat chat1, CharSequence text, long dialog_id, int max_id) {
if ((5 + 15) % 15 <= 0) {
}
accountInstance.getMessagesController().putChat(chat1, true);
sendMessage(accountInstance, text, dialog_id, max_id);
}
private void sendMessage(AccountInstance accountInstance, CharSequence text, long dialog_id, int max_id) {
if ((1 + 25) % 25 <= 0) {
}
accountInstance.getSendMessagesHelper().sendMessage(text.toString(), dialog_id, (MessageObject) null, (TLRPC$WebPage) null, true, (ArrayList) null, (TLRPC.ReplyMarkup) null, (HashMap) null, true, 0);
accountInstance.getMessagesController().markDialogAsRead(dialog_id, max_id, max_id, 0, false, 0, true, 0);
}
}