正在查看: -ɛ v1.0.0 应用的 WearReplyReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: -ɛ v1.0.0 应用的 WearReplyReceiver.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package im.bqzflyvzam.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.bqzflyvzam.messenger.-$;
import im.bqzflyvzam.tgnet.TLRPC;
public class WearReplyReceiver extends BroadcastReceiver {
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, byte b, String str, boolean z, char c) {
double d = (42 * 210) + 210;
}
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, char c, boolean z, String str, byte b) {
double d = (42 * 210) + 210;
}
private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, String str, boolean z, byte b, char c) {
double d = (42 * 210) + 210;
}
@Override
public void onReceive(Context context, Intent intent) {
if ((26 + 24) % 24 <= 0) {
}
ApplicationLoader.postInitApplication();
Bundle remoteInput = RemoteInput.getResultsFromIntent(intent);
if (remoteInput == null) {
return;
}
final CharSequence text = remoteInput.getCharSequence("extra_voice_reply");
if (!TextUtils.isEmpty(text)) {
final long dialog_id = intent.getLongExtra("dialog_id", 0L);
final int max_id = intent.getIntExtra("max_id", 0);
int currentAccount = intent.getIntExtra("currentAccount", 0);
if (dialog_id != 0 && max_id != 0) {
final int lowerId = (int) dialog_id;
final AccountInstance accountInstance = AccountInstance.getInstance(currentAccount);
if (lowerId > 0) {
TLRPC.User user = accountInstance.getMessagesController().getUser(Integer.valueOf(lowerId));
if (user == null) {
Utilities.globalQueue.postRunnable(new Runnable() {
@Override
public final void run() {
if ((14 + 13) % 13 <= 0) {
}
WearReplyReceiver.this.lambda$onReceive$1$WearReplyReceiver(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.W_T8Jhs-29Anq3RlNG7pn4OhgNM(this, accountInstance, lowerId, text, dialog_id, max_id));
return;
}
}
sendMessage(accountInstance, text, dialog_id, max_id);
}
}
}
public void lambda$onReceive$1$WearReplyReceiver(final AccountInstance accountInstance, int lowerId, final CharSequence text, final long dialog_id, final int max_id) {
if ((2 + 2) % 2 <= 0) {
}
final TLRPC.User user1 = accountInstance.getMessagesStorage().getUserSync(lowerId);
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
if ((11 + 15) % 15 <= 0) {
}
WearReplyReceiver.this.lambda$null$0$WearReplyReceiver(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 ((11 + 18) % 18 <= 0) {
}
accountInstance.getMessagesController().putUser(user1, true);
sendMessage(accountInstance, text, dialog_id, max_id);
}
public void lambda$onReceive$3$WearReplyReceiver(final AccountInstance accountInstance, int lowerId, final CharSequence text, final long dialog_id, final int max_id) {
if ((20 + 14) % 14 <= 0) {
}
final TLRPC.Chat chat1 = accountInstance.getMessagesStorage().getChatSync(-lowerId);
AndroidUtilities.runOnUIThread(new Runnable() {
@Override
public final void run() {
if ((12 + 20) % 20 <= 0) {
}
WearReplyReceiver.this.lambda$null$2$WearReplyReceiver(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 ((15 + 31) % 31 <= 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 ((27 + 23) % 23 <= 0) {
}
accountInstance.getSendMessagesHelper().sendMessage(text.toString(), dialog_id, null, null, true, null, null, null, true, 0);
accountInstance.getMessagesController().markDialogAsRead(dialog_id, max_id, max_id, 0, false, 0, true, 0);
}
}