导航菜单

页面标题

页面副标题

Namma Yatri v3.3.7 - MainActivity.java 源代码

正在查看: Namma Yatri v3.3.7 应用的 MainActivity.java JAVA 源代码文件

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


package com.mobility.movingtech;

import android.content.Intent;
import android.os.Bundle;
import com.facebook.react.s;
import com.facebook.react.v;
import in.juspay.hypersdk.core.PaymentConstants;
import in.juspay.hypersdk.data.KeyValueStore;
import in.juspay.hypersdkreact.HyperSdkReactModule;
import in.juspay.mobility.common.utils.CipherUtil;
import kotlin.jvm.internal.DefaultConstructorMarker;

public final class MainActivity extends s {
    public static final a b = new a(null);

    public static final class a {
        public a(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        private a() {
        }
    }

    public static final class b extends v {
        b(String str) {
            super(MainActivity.this, str);
        }

        protected Bundle e() {
            Bundle bundle = new Bundle();
            bundle.putString("appId", MainActivity.this.getResources().getString(m.a));
            bundle.putString("baseUrl", "https://api.moving.tech/pilot/app/v2");
            bundle.putString(PaymentConstants.MERCHANT_ID_CAMEL, "");
            return bundle;
        }
    }

    private final void P() {
        CipherUtil.getInstance().setParams("", "", "", "");
    }

    protected v N() {
        return new b(O());
    }

    protected String O() {
        return "Nammayatri";
    }

    protected void onCreate(Bundle bundle) {
        super.onCreate((Bundle) null);
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "ACTIVITY_STATUS", "onCreate");
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "BASE_URL", "https://api.moving.tech/pilot/app/v2");
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "MERCHANT_ID", "");
        qf.c.f(this);
        P();
    }

    protected void onDestroy() {
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "ACTIVITY_STATUS", "onDestroy");
        super.onDestroy();
    }

    public void onNewIntent(Intent intent) {
        kotlin.jvm.internal.m.i(intent, "intent");
        super.onNewIntent(intent);
    }

    protected void onPause() {
        super.onPause();
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "ACTIVITY_STATUS", "onPause");
    }

    public void onRequestPermissionsResult(int i, String[] permissions, int[] grantResults) {
        kotlin.jvm.internal.m.i(permissions, "permissions");
        kotlin.jvm.internal.m.i(grantResults, "grantResults");
        HyperSdkReactModule.onRequestPermissionsResult(i, permissions, grantResults);
        super.onRequestPermissionsResult(i, permissions, grantResults);
    }

    protected void onResume() {
        super.onResume();
        KeyValueStore.write(this, PaymentConstants.Category.GODEL, "ACTIVITY_STATUS", "onResume");
    }
}