QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685

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


package com.tencent.mtt.browser.download.business.debug;

import android.os.Bundle;
import android.text.TextUtils;
import com.tencent.common.manifest.annotation.CreateMethod;
import com.tencent.common.manifest.annotation.ExtensionImpl;
import com.tencent.mtt.browser.download.business.core.BusinessDownloadManager;
import com.tencent.mtt.businesscenter.facade.IUrlDispatherExtension;
import com.tencent.mtt.view.dialog.alert.QBLinearDialogClickListener;
import com.tencent.mtt.view.dialog.alert.QBListDialog;

@ExtensionImpl(createMethod = CreateMethod.NEW, extension = IUrlDispatherExtension.class, filters = {"qb://download_speed_limit"})
public class DownloadSpeedLimitDebugUrlProcessor implements IUrlDispatherExtension {

    class AnonymousClass1 implements QBLinearDialogClickListener {

        final BusinessDownloadManager f36860a;

        final QBListDialog f36861b;

        @Override
        public void a(int i) {
            BusinessDownloadManager businessDownloadManager;
            long j;
            BusinessDownloadManager businessDownloadManager2;
            boolean z = true;
            if (i == 0) {
                businessDownloadManager2 = this.f36860a;
            } else {
                if (i != 1) {
                    if (i == 2) {
                        businessDownloadManager = this.f36860a;
                        j = 20971520;
                    } else {
                        if (i == 3) {
                            this.f36860a.a(204800L);
                            return;
                        }
                        if (i != 4) {
                            if (i == 5) {
                                this.f36860a.a("https://imtt.dd.qq.com/16891/apk/D7546A0CC8CC7C7DA082D804FAED1E78.apk?fsname=com.tencent.weishi_8.6.0.588_860.apk", 204800L);
                                return;
                            }
                            if (i == 6) {
                                this.f36860a.b();
                                return;
                            } else if (i == 7) {
                                this.f36860a.c();
                                return;
                            } else {
                                if (i == 8) {
                                    this.f36861b.c();
                                    return;
                                }
                                return;
                            }
                        }
                        businessDownloadManager = this.f36860a;
                        j = 102400;
                    }
                    businessDownloadManager.a(j);
                    return;
                }
                businessDownloadManager2 = this.f36860a;
                z = false;
            }
            businessDownloadManager2.a(z);
        }
    }

    @Override
    public boolean lunchCustomUrl(String str, boolean z, Bundle bundle) {
        TextUtils.isEmpty(str);
        return false;
    }
}