导航菜单

页面标题

页面副标题

北京退费客服端 v1.0.0 - WearReplyReceiver.java 源代码

正在查看: 北京退费客服端 v1.0.0 应用的 WearReplyReceiver.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package im.amwhusedvt.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.amwhusedvt.messenger.-$;
import im.amwhusedvt.tgnet.TLRPC$Chat;
import im.amwhusedvt.tgnet.TLRPC$User;

public class WearReplyReceiver extends BroadcastReceiver {
    private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, byte b, int i2, short s, String str) {
        double d = (42 * 210) + 210;
    }

    private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, String str, int i2, short s, byte b) {
        double d = (42 * 210) + 210;
    }

    private void sendMessage(AccountInstance accountInstance, CharSequence charSequence, long j, int i, short s, String str, int i2, byte b) {
        double d = (42 * 210) + 210;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        if ((11 + 18) % 18 <= 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.NWVN0qorYbPbQXdQTkH0UnifY7w(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.aj7pSv65-sq72zNFAq40H5zldEA(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 ((6 + 27) % 27 <= 0) {
        }
        TLRPC$User user1 = accountInstance.getMessagesStorage().getUserSync(lowerId);
        AndroidUtilities.runOnUIThread(new -$.Lambda.WearReplyReceiver.E2tOiwyS03Qi1qfP6Rv-tXwcbsM(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 ((19 + 11) % 11 <= 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 ((27 + 23) % 23 <= 0) {
        }
        TLRPC$Chat chat1 = accountInstance.getMessagesStorage().getChatSync(-lowerId);
        AndroidUtilities.runOnUIThread(new -$.Lambda.WearReplyReceiver.VBRwPr1CPv-loZTiJZGu7GWKEUU(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 ((16 + 26) % 26 <= 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 ((32 + 5) % 5 <= 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);
    }
}