安全中心 v4.9.2版本的 MD5 值为:d64c0ec7920c532fa6e6d9bb001cf9bf

以下内容为反编译后的 HotWordsModel.java 源代码,内容仅作参考


package com.tencent.qqpimsecure.plugin.deskassistant.dao;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import meri.pluginsdk.d;
import tcs.bvc;
import tcs.bvf;
import tcs.bwo;
import tcs.ve;
import tcs.vf;
import tcs.yz;

public class HotWordsModel implements Parcelable, Comparable<HotWordsModel> {
    public int bXR;
    public long ckp;
    public long ckq;
    public int gIP;
    int gJA;
    public String gJw;
    public String gJx;
    public int gJy;
    public long gJz;
    public int vy;
    public static String gJv = "http://m.baidu.com/s?from=1000953a";
    public static final Parcelable.Creator<HotWordsModel> CREATOR = new Parcelable.Creator<HotWordsModel>() {
        @Override
        public HotWordsModel createFromParcel(Parcel parcel) {
            HotWordsModel hotWordsModel = new HotWordsModel();
            HotWordsModel.gJv = parcel.readString();
            hotWordsModel.gJw = parcel.readString();
            hotWordsModel.bXR = parcel.readInt();
            hotWordsModel.gJx = parcel.readString();
            hotWordsModel.gJy = parcel.readInt();
            hotWordsModel.gJz = parcel.readLong();
            hotWordsModel.ckp = parcel.readLong();
            hotWordsModel.ckq = parcel.readLong();
            hotWordsModel.vy = parcel.readInt();
            hotWordsModel.gIP = parcel.readInt();
            hotWordsModel.gJA = parcel.readInt();
            return hotWordsModel;
        }

        @Override
        public HotWordsModel[] newArray(int i) {
            return new HotWordsModel[i];
        }
    };

    public HotWordsModel() {
    }

    public HotWordsModel(String str, int i, String str2, int i2, long j, long j2, long j3, int i3, int i4) {
        this.gJw = str;
        this.bXR = i;
        this.gJx = str2;
        this.gJy = i2;
        this.gJz = j;
        this.ckp = j2;
        this.ckq = j3;
        this.vy = i3;
        this.gIP = i4;
    }

    public void dn(Context context) {
        switch (this.bXR) {
            case 0:
                Bundle bundle = new Bundle();
                new Bundle();
                bundle.putInt(meri.pluginsdk.d.bss, ve.d.cLk);
                bundle.putString("AUlP", this.gJx);
                bundle.putInt(meri.pluginsdk.d.eMu, 4);
                bwo.aBN().b(119, bundle, new d.z() {
                    @Override
                    public void a(int i, String str, Bundle bundle2) {
                    }

                    @Override
                    public void k(Bundle bundle2, Bundle bundle3) {
                    }
                });
                return;
            case 1:
                bvf.ayp().a(Integer.valueOf(this.gJx).intValue(), 0, false, true, false, null, 0);
                return;
            case 2:
                String[] split = this.gJx.trim().split("\\|");
                if (split.length == 2) {
                    String str = split[0];
                    String str2 = split[1];
                    Intent launchIntentForPackage = context.getPackageManager().getLaunchIntentForPackage(str);
                    if (launchIntentForPackage != null) {
                        yz.c(bvc.ayf().ayg(), 260139, 4);
                        context.startActivity(launchIntentForPackage);
                        return;
                    } else {
                        f(str, 0, str2);
                        yz.c(bvc.ayf().ayg(), 260140, 4);
                        return;
                    }
                }
                return;
            default:
                return;
        }
    }

    private void f(String str, int i, String str2) {
        com.tencent.qqpimsecure.model.b bVar = new com.tencent.qqpimsecure.model.b();
        bVar.y(0);
        bVar.m29do(str);
        bVar.aV(i);
        bVar.fD(str2);
        bVar.ad(3009051);
        Bundle bundle = new Bundle();
        Bundle bundle2 = new Bundle();
        bundle.putByteArray(vf.a.bmO, com.tencent.qqpimsecure.model.b.b(bVar));
        bundle.putInt(meri.pluginsdk.d.bss, 9895938);
        bundle.putInt(meri.pluginsdk.d.eMu, 4);
        bwo.aBN().c(151, bundle, bundle2);
    }

    @Override
    public int compareTo(HotWordsModel hotWordsModel) {
        char c = this.gJy == 1 ? (char) 1 : (char) 0;
        char c2 = hotWordsModel.gJy == 1 ? (char) 1 : (char) 0;
        if (this.gJy != hotWordsModel.gJy) {
            return c > c2 ? -1 : 1;
        }
        return this.gIP <= hotWordsModel.gIP ? 1 : -1;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(gJv);
        parcel.writeString(this.gJw);
        parcel.writeInt(this.bXR);
        parcel.writeString(this.gJx);
        parcel.writeInt(this.gJy);
        parcel.writeLong(this.gJz);
        parcel.writeLong(this.ckp);
        parcel.writeLong(this.ckq);
        parcel.writeInt(this.vy);
        parcel.writeInt(this.gIP);
        parcel.writeInt(this.gJA);
    }
}