导航菜单

页面标题

页面副标题

Share Any v2.1.7 - WebOpenedActivity.java 源代码

正在查看: Share Any v2.1.7 应用的 WebOpenedActivity.java JAVA 源代码文件

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


package net.shareany.app.activity.pc;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.widget.Toolbar;
import com.facebook.internal.c0;
import f.d;
import g.j;
import l2.g;
import m5.h;
import n5.l;
import net.shareany.app.activity.ContentSharingActivity;
import net.shareany.app.activity.transfer.TransferProgressActivity;
import org.greenrobot.eventbus.ThreadMode;
import org.greenrobot.eventbus.a;
import s0.b;
import x5.i;

public class WebOpenedActivity extends j {
    public static final int B = 0;
    public g A;

    public void onBackPressed() {
        l.b(this, new b(this));
    }

    public void onCreate(Bundle bundle) {
        super/*androidx.fragment.app.q*/.onCreate(bundle);
        View inflate = getLayoutInflater().inflate(2131492911, (ViewGroup) null, false);
        int i = 2131296435;
        Button button = (Button) androidx.activity.l.c(inflate, 2131296435);
        if (button != null) {
            Toolbar c = androidx.activity.l.c(inflate, 2131297016);
            if (c != null) {
                TextView textView = (TextView) androidx.activity.l.c(inflate, 2131297041);
                if (textView != null) {
                    g gVar = new g((LinearLayout) inflate, button, c, textView);
                    this.A = gVar;
                    setContentView((LinearLayout) gVar.b);
                    ge.b.b().j(this);
                    Toolbar findViewById = findViewById(2131297016);
                    findViewById.setTitle("");
                    t().A(findViewById);
                    if (u() != null) {
                        u().o(2131165425);
                        u().m(true);
                    }
                    ((TextView) this.A.e).setText(getIntent().getStringExtra(h.a(new byte[]{-62, 94, -39, 69, -7, 84, -40, 71, -49, 67}, new byte[]{-86, 49})));
                    ((Button) this.A.c).setOnClickListener(new c0(this));
                    l.a(this);
                    return;
                }
                i = 2131297041;
            } else {
                i = 2131297016;
            }
        }
        throw new NullPointerException(h.a(new byte[]{28, -50, 34, -44, 56, -55, 54, -121, 35, -62, 32, -46, 56, -43, 52, -61, 113, -47, 56, -62, 38, -121, 38, -50, 37, -49, 113, -18, 21, -99, 113}, new byte[]{81, -89}).concat(inflate.getResources().getResourceName(i)));
    }

    public void onDestroy() {
        ge.b.b().l(this);
        super.onDestroy();
    }

    @a(threadMode = ThreadMode.MAIN)
    public void onMessageEvent(u5.a aVar) {
        d.d(h.a(new byte[]{-35, 111, -56, 85, -59, 122, -49, 100, -49, 110, -11, 126, -40, 107, -60, 121, -52, 111, -40, 85, -51, 120, -59, Byte.MAX_VALUE, -38, 85, -55, 120, -49, 107, -34, 111, -50}, new byte[]{-86, 10}));
        if (aVar.a == i.b.b) {
            Toast.makeText((Context) this, 2131820646, 1).show();
        }
        Intent intent = new Intent((Context) this, (Class<?>) TransferProgressActivity.class);
        intent.putExtra(h.a(new byte[]{38, -58, 55, -52, 34, -22, 49, -33, 45, -51, 37, -37, 49, -7, 49, -47, 54, -50, 10, -38}, new byte[]{67, -66}), aVar.b);
        intent.putExtra(h.a(new byte[]{54, -105, 39, -99, 50, -68, 59, -114, 33, -118, 3, -125, 50, -101, 53, Byte.MIN_VALUE, 33, -126}, new byte[]{83, -17}), ContentSharingActivity.e.a.toString());
        startActivity(intent);
        finish();
    }

    public boolean onOptionsItemSelected(MenuItem menuItem) {
        if (menuItem.getItemId() != 16908332) {
            return super/*android.app.Activity*/.onOptionsItemSelected(menuItem);
        }
        onBackPressed();
        return true;
    }
}