GoooBet v1.0版本的 MD5 值为:ff9748f16167bfd7735b669c0a9931c5

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


package com.my.target;

import android.content.Context;
import android.text.TextUtils;
import com.google.android.exoplayer2.C;
import com.mopub.common.Constants;
import java.net.URLDecoder;
import java.net.URLEncoder;

public class is {
    private static final String[] pG = {"http://play.google.com", "https://play.google.com", "http://market.android.com", "https://market.android.com", "market://", "samsungapps://"};
    private a pH;
    private final String url;

    public interface a {
        void onResolve(String str);
    }

    private is(String str) {
        this.url = str;
    }

    public void af(Context context) {
        final String e = df.da().e(this.url, null, context);
        if (this.pH == null) {
            return;
        }
        af.c(new Runnable() {
            @Override
            public final void run() {
                is.this.av(e);
            }
        });
    }

    public static String ap(String str) {
        try {
            return URLDecoder.decode(str, C.UTF8_NAME);
        } catch (Throwable th) {
            ae.a("Unable to decode url " + th.getMessage());
            return str;
        }
    }

    public static String aq(String str) {
        try {
            return URLEncoder.encode(str, C.UTF8_NAME);
        } catch (Throwable th) {
            ae.a("Unable to encode url " + th.getMessage());
            return "";
        }
    }

    public static boolean ar(String str) {
        if (!TextUtils.isEmpty(str)) {
            for (String str2 : pG) {
                if (str.startsWith(str2)) {
                    return true;
                }
            }
        }
        return false;
    }

    public static boolean as(String str) {
        return str.startsWith("samsungapps://");
    }

    public static boolean at(String str) {
        return !TextUtils.isEmpty(str) && str.startsWith(Constants.HTTPS);
    }

    public static is au(String str) {
        return new is(str);
    }

    public void av(String str) {
        a aVar = this.pH;
        if (aVar != null) {
            aVar.onResolve(str);
            this.pH = null;
        }
    }

    public is a(a aVar) {
        this.pH = aVar;
        return this;
    }

    public void ae(Context context) {
        final Context applicationContext = context.getApplicationContext();
        af.b(new Runnable() {
            @Override
            public final void run() {
                is.this.af(applicationContext);
            }
        });
    }
}