APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:For S9
版本号:4.5
包名称:com.jb.gokeyboard.theme.emojiztfors9.getjar

MD5 校验值:27cf44ec6e0720408f5ef017a90a3331

反编译源代码说明

a.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package com.jb.gokeyboard.theme.template.crashreport;

import android.R;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.os.Bundle;
import android.preference.PreferenceManager;

public class a implements SharedPreferences.OnSharedPreferenceChangeListener {
    private Context b = null;
    SharedPreferences a = null;

    public void a(Context context) {
        this.b = context;
        this.a = PreferenceManager.getDefaultSharedPreferences(context);
        this.a.registerOnSharedPreferenceChangeListener(this);
        boolean z = false;
        try {
            z = this.a.getBoolean("pref_key_report", true);
        } catch (Exception e) {
        }
        if (z) {
            e();
        }
    }

    private void e() {
        b a = b.a();
        b.a(a());
        a.a(c());
        a.a(d());
        a.a(this.b.getApplicationContext());
    }

    public Uri a() {
        return Uri.parse("http://spreadsheets.google.com/formResponse?formkey=" + b() + "&ifq");
    }

    public String b() {
        return "dEM4SDNGX0tvaDVxSjk0NVM5ZTl4Y3c6MQ";
    }

    ReportingInteractionMode c() {
        return ReportingInteractionMode.NOTIFICATION;
    }

    public Bundle d() {
        Bundle bundle = new Bundle();
        bundle.putInt("RES_NOTIF_ICON", R.drawable.stat_notify_error);
        bundle.putInt("RES_NOTIF_TICKER_TEXT", com.jb.gokeyboard.theme.emojiztfors9.getjar.R.string.crash_notif_ticker_text);
        bundle.putInt("RES_NOTIF_TITLE", com.jb.gokeyboard.theme.emojiztfors9.getjar.R.string.crash_notif_title);
        bundle.putInt("RES_NOTIF_TEXT", com.jb.gokeyboard.theme.emojiztfors9.getjar.R.string.crash_notif_text);
        bundle.putInt("RES_DIALOG_ICON", R.drawable.ic_dialog_info);
        bundle.putInt("RES_DIALOG_TITLE", com.jb.gokeyboard.theme.emojiztfors9.getjar.R.string.crash_dialog_title);
        bundle.putInt("RES_DIALOG_TEXT", com.jb.gokeyboard.theme.emojiztfors9.getjar.R.string.crash_dialog_text);
        return bundle;
    }

    @Override
    public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String str) {
        if ("pref_key_report".equals(str)) {
            Boolean bool = false;
            try {
                bool = Boolean.valueOf(this.a.getBoolean("pref_key_report", true));
            } catch (Exception e) {
            }
            if (bool.booleanValue()) {
                e();
            } else {
                b.a().d();
            }
        }
    }
}