This repository was archived by the owner on Oct 5, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
app/src/main/java/com/grarak/kerneladiutor Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,13 +94,14 @@ private void postCreate(final Long[] times) {
9494 public void run () {
9595 try {
9696 JSONObject data = new JSONObject ();
97- data .put ("android_id" , Utils .getAndroidId (Monitor .this ));
97+ data .put ("android_id" , Utils .decodeString ( Utils . getAndroidId (Monitor .this ) ));
9898 data .put ("android_version" , Device .getVersion ());
9999 data .put ("kernel_version" , Device .getKernelVersion (true , false ));
100100 data .put ("app_version" , BuildConfig .VERSION_NAME );
101101 data .put ("board" , Device .getBoard (false ));
102102 data .put ("model" , Device .getModel ());
103103 data .put ("vendor" , Device .getVendor ());
104+ data .put ("cpuinfo" , Utils .decodeString (Device .CPUInfo .getCpuInfo (false )));
104105
105106 JSONArray commands = new JSONArray ();
106107 Settings settings = new Settings (Monitor .this );
Original file line number Diff line number Diff line change @@ -233,6 +233,13 @@ public static String getVendor(boolean root) {
233233 return getString ("vendor_id" , root );
234234 }
235235
236+ public static String getCpuInfo (boolean root ) {
237+ if (CPUINFO == null ) {
238+ load (root );
239+ }
240+ return CPUINFO ;
241+ }
242+
236243 private static String getString (String prefix , boolean root ) {
237244 if (CPUINFO == null ) {
238245 load (root );
You can’t perform that action at this time.
0 commit comments