导航菜单

页面标题

页面副标题

Minits v4.9.3.32 - ShareActivity.java 源代码

正在查看: Minits v4.9.3.32 应用的 ShareActivity.java JAVA 源代码文件

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


package com.xone.android.framework.activities;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import com.xone.android.framework.activities.ShareActivity;
import com.xone.android.framework.xoneApp;
import com.xone.interfaces.IXoneApp;
import com.xone.interfaces.IXoneObject;
import fa.j;
import fb.AbstractC0698k;
import fb.u;
import java.io.File;
import java.util.concurrent.TimeUnit;
import ua.F;

public final class ShareActivity extends Activity {
    public static void b(Intent intent) {
        IXoneObject company;
        xoneApp Z0 = xoneApp.Z0();
        try {
            IXoneApp c1 = xoneApp.c1();
            if (c1 == null || (company = c1.getCompany()) == null) {
                return;
            }
            company.ExecuteNode("ondatashare", new Object[]{AbstractC0698k.t(intent, "android.intent.extra.TEXT", ""), u.b(Z0, AbstractC0698k.v(intent, "android.intent.extra.STREAM"), new File(Z0.getFilesPath()), true, "share_")});
        } catch (Exception e) {
            F g = Z0.g();
            if (g instanceof F) {
                g.b(e);
            } else {
                e.printStackTrace();
            }
        }
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        try {
            final Intent intent = getIntent();
            if (intent == null) {
                return;
            }
            if (xoneApp.c1() != null) {
                j.j().schedule(new Runnable() {
                    @Override
                    public final void run() {
                        ShareActivity.b(intent);
                    }
                }, 0L, TimeUnit.MILLISECONDS);
                return;
            }
            xoneApp Z0 = xoneApp.Z0();
            Intent launchIntentForPackage = Z0.getPackageManager().getLaunchIntentForPackage(Z0.getPackageName());
            if (launchIntentForPackage == null) {
                return;
            }
            launchIntentForPackage.putExtra("executeOnRecovery", true);
            launchIntentForPackage.putExtra("executeOnMessage", false);
            launchIntentForPackage.putExtra("shareIntent", intent);
            Z0.startActivity(launchIntentForPackage);
        } finally {
            finish();
        }
    }
}