导航菜单

页面标题

页面副标题

Empower MX v1.29.4.340 - S.java 源代码

正在查看: Empower MX v1.29.4.340 应用的 S.java JAVA 源代码文件

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


package ec;

import ac.AbstractC0989a;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.net.Uri;
import finance.empower.android.app.home.HomeActivity;
import finance.empower.android.app.onboarding.authentication.LandingActivity;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;

public final class S {
    public static final a b = new a(null);
    public static final int c = 8;
    private final Activity a;

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

        private a() {
        }
    }

    public static final class b extends d.C {
        final androidx.fragment.app.i d;

        b(androidx.fragment.app.i iVar) {
            super(true);
            this.d = iVar;
        }

        public void d() {
            this.d.moveTaskToBack(true);
        }
    }

    public S(Activity activity) {
        Intrinsics.checkNotNullParameter(activity, "activity");
        this.a = activity;
    }

    private final void e(Intent intent) {
        this.a.startActivity(intent);
    }

    public static boolean k(S s, String str, String str2, String str3, int i, Object obj) {
        if ((i & 2) != 0) {
            str2 = "";
        }
        if ((i & 4) != 0) {
            str3 = null;
        }
        return s.j(str, str2, str3);
    }

    public final void a(androidx.fragment.app.i fragmentActivity, androidx.lifecycle.x lifecycleOwner) {
        Intrinsics.checkNotNullParameter(fragmentActivity, "fragmentActivity");
        Intrinsics.checkNotNullParameter(lifecycleOwner, "lifecycleOwner");
        fragmentActivity.i().h(fragmentActivity, new b(fragmentActivity));
    }

    public final void b() {
        this.a.finish();
    }

    public final void c() {
        this.a.finishAffinity();
    }

    public final void d() {
        this.a.setResult(-1);
        this.a.finish();
    }

    public final void f() {
        e(AbstractC0989a.c(AbstractC0989a.e(LandingActivity.INSTANCE.a(this.a))));
    }

    public final void g() {
        e(new Intent("android.intent.action.VIEW", Uri.parse("https://play.google.com/store/apps/details?id=finance.empower.mx&hl=es_MX&gl=MX")));
    }

    public final void h(String url) {
        Intrinsics.checkNotNullParameter(url, "url");
        AbstractC0989a.b(this.a, url, false, 2, null);
    }

    public final void i() {
        e(AbstractC0989a.d(AbstractC0989a.f(HomeActivity.INSTANCE.a(this.a))));
    }

    public final boolean j(String text, String subject, String str) {
        Intrinsics.checkNotNullParameter(text, "text");
        Intrinsics.checkNotNullParameter(subject, "subject");
        try {
            Intent intent = new Intent("android.intent.action.SEND");
            intent.setType("text/plain");
            intent.putExtra("android.intent.extra.SUBJECT", subject);
            intent.putExtra("android.intent.extra.TEXT", text);
            this.a.startActivity(Intent.createChooser(intent, str));
            return true;
        } catch (ActivityNotFoundException e) {
            e.printStackTrace();
            return false;
        }
    }
}