导航菜单

页面标题

页面副标题

万能钥匙 v1.1.23 - ShortcutDispatchActivity.java 源代码

正在查看: 万能钥匙 v1.1.23 应用的 ShortcutDispatchActivity.java JAVA 源代码文件

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


package com.wifitutu.module.shortcut.imp;

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import com.meituan.robust.ChangeQuickRedirect;
import com.meituan.robust.PatchProxy;
import com.meituan.robust.PatchProxyResult;
import com.wifitutu.link.foundation.kernel.ui.n;
import com.wifitutu.widget.monitor.api.generate.shortcuts.BdShortcutClickEvent;
import kotlin.Metadata;
import kotlin.jvm.internal.p;
import lg0.C3071u0;
import lg0.h4;
import os.C2647f2;
import os.C2678i2;
import os.C2766u;
import os.EnumC2758t;
import os.InterfaceC2612b1;

@Metadata(d1 = {"\u0000\u001a\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\b\u0016\u0018\u00002\u00020\u0001B\u0007¢\u0006\u0004\b\u0002\u0010\u0003J\u0019\u0010\u0007\u001a\u00020\u00062\b\u0010\u0005\u001a\u0004\u0018\u00010\u0004H\u0014¢\u0006\u0004\b\u0007\u0010\b¨\u0006\t"}, d2 = {"Lcom/wifitutu/module/shortcut/imp/ShortcutDispatchActivity;", "Landroid/app/Activity;", "<init>", "()V", "Landroid/os/Bundle;", "savedInstanceState", "Llg0/e0;", "onCreate", "(Landroid/os/Bundle;)V", "module-shortcut-imp_release"}, k = 1, mv = {1, 8, 0}, xi = 48)
public class ShortcutDispatchActivity extends Activity {
    public static ChangeQuickRedirect changeQuickRedirect;

    @Metadata(d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0000\n\u0000\u0010\u0000\u001a\u0004\u0018\u00010\u0001H\n¢\u0006\u0002\b\u0002"}, d2 = {"<anonymous>", "", "invoke"}, k = 3, mv = {1, 8, 0}, xi = 48)
    public static final class a extends p implements ah0.a<Object> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final String s;
        public final String t;
        public final String u;
        public final String v;
        public final Integer w;

        public a(String str, String str2, String str3, String str4, Integer num) {
            super(0);
            this.s = str;
            this.t = str2;
            this.u = str3;
            this.v = str4;
            this.w = num;
        }

        @Override
        public final Object invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 20931, new Class[0], Object.class);
            if (proxy.isSupported) {
                return proxy.result;
            }
            return "intent extra source=" + this.s + " name=" + this.t + " url=" + this.u + " icon=" + this.v + " rank=" + this.w;
        }
    }

    @Metadata(d1 = {"\u0000\b\n\u0002\u0018\u0002\n\u0002\b\u0002\u0010\u0001\u001a\u00020\u0000H\n¢\u0006\u0004\b\u0001\u0010\u0002"}, d2 = {"Los/b1;", "a", "()Los/b1;"}, k = 3, mv = {1, 8, 0})
    public static final class b extends p implements ah0.a<InterfaceC2612b1> {
        public static ChangeQuickRedirect changeQuickRedirect;
        public final String s;
        public final String t;
        public final String u;
        public final String v;

        public b(String str, String str2, String str3, String str4) {
            super(0);
            this.s = str;
            this.t = str2;
            this.u = str3;
            this.v = str4;
        }

        public final InterfaceC2612b1 a() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 20932, new Class[0], InterfaceC2612b1.class);
            if (proxy.isSupported) {
                return (InterfaceC2612b1) proxy.result;
            }
            BdShortcutClickEvent bdShortcutClickEvent = new BdShortcutClickEvent();
            String str = this.s;
            if (str == null) {
                str = "";
            }
            bdShortcutClickEvent.c(str);
            String str2 = this.t;
            if (str2 == null) {
                str2 = "";
            }
            bdShortcutClickEvent.b(str2);
            String str3 = this.u;
            if (str3 == null) {
                str3 = "";
            }
            bdShortcutClickEvent.d(str3);
            String str4 = this.v;
            bdShortcutClickEvent.a(str4 != null ? str4 : "");
            return new C2766u(EnumC2758t.BIGDATA.getType(), bdShortcutClickEvent);
        }

        @Override
        public InterfaceC2612b1 invoke() {
            PatchProxyResult proxy = PatchProxy.proxy(new Object[0], this, changeQuickRedirect, false, 20933, new Class[0], Object.class);
            return proxy.isSupported ? proxy.result : a();
        }
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        if (PatchProxy.proxy(new Object[]{savedInstanceState}, this, changeQuickRedirect, false, 20930, new Class[]{Bundle.class}, Void.TYPE).isSupported) {
            return;
        }
        super.onCreate(savedInstanceState);
        String stringExtra = getIntent().getStringExtra("shortcut_type");
        String stringExtra2 = getIntent().getStringExtra("shortcut_name");
        String stringExtra3 = getIntent().getStringExtra("shortcut_url");
        String stringExtra4 = getIntent().getStringExtra("shortcut_icon");
        h4.l().j("Shortcuts", new a(stringExtra, stringExtra2, stringExtra3, stringExtra4, n.b(getIntent(), "shortcut_rank")));
        C2678i2.h(C2678i2.j(C2647f2.d()), false, new b(stringExtra, stringExtra2, stringExtra3, stringExtra4), 1, null);
        if (stringExtra3 != null) {
            Intent intent = new Intent("android.intent.action.VIEW");
            intent.setData(Uri.parse(stringExtra3));
            intent.setPackage(getPackageName());
            C3071u0.v(this, intent, true);
        }
        finish();
        overridePendingTransition(0, 0);
    }
}