From b0815d2636492cdb615119260d1d146f7b737080 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 9 Jul 2016 10:40:29 +0200 Subject: [PATCH] Send device name --- app/src/main/java/eu/faircode/netguard/ServiceJob.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/netguard/ServiceJob.java b/app/src/main/java/eu/faircode/netguard/ServiceJob.java index dc3c3ec7..22532ce2 100644 --- a/app/src/main/java/eu/faircode/netguard/ServiceJob.java +++ b/app/src/main/java/eu/faircode/netguard/ServiceJob.java @@ -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()));