Send device name

This commit is contained in:
M66B 2016-07-09 10:40:29 +02:00
parent 45b7d58b21
commit b0815d2636
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class ServiceJob extends JobService {
String android_id = Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID);
JSONObject json = new JSONObject();
json.put("device", Util.sha256(android_id, ""));
json.put("product", Build.DEVICE);
json.put("sdk", Build.VERSION.SDK_INT);
json.put("netguard", Util.getSelfVersionCode(ServiceJob.this));
json.put("store", getPackageManager().getInstallerPackageName(getPackageName()));