OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046

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


package com.excelliance.kxqp;

import android.app.IntentService;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Build;
import android.os.IBinder;
import android.util.Log;
import com.excelliance.kxqp.gs.util.as;

public class StaticsService extends IntentService {

    private boolean f2371a;

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    static {
        System.loadLibrary("bgobserver");
    }

    public StaticsService() {
        super("StaticsService");
        this.f2371a = false;
    }

    @Override
    protected void onHandleIntent(Intent intent) {
        String str;
        Log.d("StaticsService", "onHandleIntent entered, started=" + this.f2371a);
        if (this.f2371a) {
            return;
        }
        this.f2371a = true;
        VersionManager versionManager = VersionManager.getInstance();
        GameUtil intance = GameUtil.getIntance();
        String o = GameUtil.o(intance.getContext());
        if (o == null || o.length() <= 0) {
            str = i.d + "/uninstallfeedback.php?";
        } else {
            str = "http://folder." + o + "/uninstallfeedback.php?";
        }
        StringBuilder sb = new StringBuilder(str);
        sb.append("chid=");
        sb.append(intance.h());
        sb.append("&subchid=");
        sb.append(intance.i());
        sb.append("&vercode=");
        sb.append(GameUtil.a(intance.getContext()));
        sb.append("&vmver=");
        sb.append(versionManager.l());
        sb.append("&uid=");
        sb.append(versionManager.f());
        sb.append("&data=" + intance.g());
        String sb2 = sb.toString();
        String packageName = getPackageName();
        GameJNI.bgobserver(as.a(this), packageName + ":stat", sb2, Build.VERSION.SDK_INT);
    }

    @Override
    public void onCreate() {
        super.onCreate();
        GameUtil.getIntance().q(this);
    }

    @Override
    public Resources getResources() {
        return v.a(this);
    }
}