导航菜单

页面标题

页面副标题

RummyCircle v11000.89 - AioMatchUserActivity.java 源代码

正在查看: RummyCircle v11000.89 应用的 AioMatchUserActivity.java JAVA 源代码文件

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


package com.paytm.pgsdk;

import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

public class AioMatchUserActivity extends AppCompatActivity {
    public final void onActivityResult(int i, int i2, Intent intent) {
        super/*androidx.fragment.app.FragmentActivity*/.onActivityResult(i, i2, intent);
        boolean z = false;
        if (i != 12 || intent == null) {
            if (i != 13 || intent == null) {
                return;
            }
            if (i2 == -1 && intent.getExtras() != null) {
                z = intent.getExtras().getBoolean("user_logged_in", false);
            }
            z(true, z);
            return;
        }
        if (i2 == -1 && intent.getExtras() != null) {
            z = intent.getExtras().getBoolean("IF_USER_MATCHES", false);
        }
        Intent intent2 = new Intent();
        intent2.setAction("user_match_result_action");
        intent2.putExtra("user_matches", z);
        androidx.localbroadcastmanager.content.a.a(getApplicationContext()).c(intent2);
        finish();
    }

    public final void onCreate(Bundle bundle) {
        setTheme(m.TransparentActivityTheme);
        super/*androidx.fragment.app.FragmentActivity*/.onCreate(bundle);
        if (Build.VERSION.SDK_INT == 26) {
            setRequestedOrientation(-1);
        } else {
            setRequestedOrientation(1);
        }
        if (getIntent().getBooleanExtra("check_user_login_only", false)) {
            if (!j.d(this)) {
                z(false, false);
                return;
            }
            try {
                Intent intent = new Intent();
                intent.setComponent(new ComponentName("net.one97.paytm", "net.one97.paytm.AJRUserLoggedInCheckActivity"));
                j.a("Launching Paytm App");
                startActivityForResult(intent, 13);
                return;
            } catch (ActivityNotFoundException e) {
                j.e(e);
                z(false, false);
                return;
            } catch (Exception e2) {
                j.e(e2);
                z(false, false);
                return;
            }
        }
        Intent intent2 = getIntent();
        if (j.d(this)) {
            try {
                Intent intent3 = new Intent();
                intent3.putExtras(intent2);
                intent3.setComponent(new ComponentName("net.one97.paytm", "net.one97.paytm.AJRUserPhoneMatchActivity"));
                j.a("Launching Paytm App");
                startActivityForResult(intent3, 12);
                return;
            } catch (Exception e3) {
                j.e(e3);
            }
        }
        Intent intent4 = new Intent();
        intent4.setAction("user_match_result_action");
        intent4.putExtra("user_matches", false);
        androidx.localbroadcastmanager.content.a.a(getApplicationContext()).c(intent4);
        finish();
    }

    public final void z(boolean z, boolean z2) {
        Intent intent = new Intent();
        intent.setAction("user_login_status_action");
        intent.putExtra("user_logged_in", z2);
        intent.putExtra("feature_available_in_app", z);
        androidx.localbroadcastmanager.content.a.a(getApplicationContext()).c(intent);
        finish();
    }
}