Wolves Themes v1.0版本的 MD5 值为:cddc92b47f6b7c4a195c9625507eb51c

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


package com.flurry.sdk;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.customtabs.CustomTabsIntent;
import com.amazon.device.ads.WebRequest;
import com.flurry.sdk.b;
import com.flurry.sdk.le;
import com.flurry.sdk.lg;
import com.flurry.sdk.mt;
import java.util.HashMap;
import java.util.Map;
import org.json.JSONException;
import org.json.JSONObject;
public class mv {
    private static final String a = "mv";
    private static mv b = new mv();

    private mv() {
    }

    public static void b(Context context, b.C0049b c0049b) {
        context.startActivity(new Intent("android.intent.action.VIEW", c0049b.a));
    }

    public static void a(final b.a aVar) {
        kh.a().b(new mk() {
            @Override
            public final void a() {
                Map b2 = mv.b(aVar);
                le leVar = new le();
                leVar.g = "https://api.login.yahoo.com/oauth2/device_session";
                leVar.h = lg.a.kPost;
                leVar.a("Content-Type", WebRequest.CONTENT_TYPE_JSON);
                leVar.b = new JSONObject(b2).toString();
                leVar.d = new lt();
                leVar.c = new lt();
                leVar.a = new le.a<String, String>() {
                    @Override
                    public final void a(le<String, String> leVar2, String str) {
                        String str2 = str;
                        try {
                            int i = leVar2.q;
                            if (i != 200) {
                                String str3 = mv.a;
                                kx.e(str3, "Error in getting privacy dashboard url. Error code = " + i);
                                b.a aVar2 = aVar;
                                return;
                            }
                            JSONObject jSONObject = new JSONObject(str2);
                            mv.a(mv.this, new b.C0049b(jSONObject.getString("device_session_id"), jSONObject.getLong("expires_in"), aVar));
                            b.a aVar3 = aVar;
                        } catch (JSONException e) {
                            kx.b(mv.a, "Error in getting privacy dashboard url. ", e);
                            b.a aVar4 = aVar;
                        }
                    }
                };
                kd.a().a((Object) mv.this, (mv) leVar);
            }
        });
    }

    static Map b(b.a aVar) {
        HashMap hashMap = new HashMap();
        hashMap.put("device_verifier", aVar.a);
        HashMap hashMap2 = new HashMap();
        String c = jp.a().c();
        if (c != null) {
            hashMap2.put("gpaid", c);
        }
        String str = jp.a().b;
        if (str != null) {
            hashMap2.put("andid", str);
        }
        hashMap.putAll(hashMap2);
        HashMap hashMap3 = new HashMap();
        byte[] d = jp.a().d();
        if (d != null) {
            hashMap3.put("flurry_guid", mi.a(d));
        }
        hashMap3.put("flurry_project_api_key", kh.a().d);
        hashMap.putAll(hashMap3);
        Context context = aVar.b;
        HashMap hashMap4 = new HashMap();
        hashMap4.put("src", "flurryandroidsdk");
        hashMap4.put("srcv", "10.1.0");
        hashMap4.put("appsrc", context.getPackageName());
        jy.a();
        hashMap4.put("appsrcv", jy.a(context));
        hashMap.putAll(hashMap4);
        return hashMap;
    }

    static void a(mv mvVar, final b.C0049b c0049b) {
        Context context = kh.a().a;
        if (mt.a(context)) {
            mt.a(context, new CustomTabsIntent.Builder().setShowTitle(true).build(), Uri.parse(c0049b.a.toString()), new mt.a() {
                @Override
                public final void a(Context context2) {
                    mv.b(context2, c0049b);
                }
            });
        } else {
            b(context, c0049b);
        }
    }
}