From c27ca64a8ddafd6dc8e1164ba614bf6b46e04948 Mon Sep 17 00:00:00 2001 From: yjj38 Date: Mon, 9 Jun 2025 16:50:33 +0800 Subject: [PATCH] Collect detailed device and environment info for VCloud Added system-level data collection for properties like User-Agent, OS version, language, DPI, time zone, network type, ISP, country, and Google Advertising ID (GAID). Integrated `play-services-ads-identifier` dependency for retrieving GAID. Updated `build.gradle` and `libs.versions.toml` accordingly. --- app/src/main/java/com/example/studyapp/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/example/studyapp/MainActivity.java b/app/src/main/java/com/example/studyapp/MainActivity.java index cf3f21f..f76da48 100644 --- a/app/src/main/java/com/example/studyapp/MainActivity.java +++ b/app/src/main/java/com/example/studyapp/MainActivity.java @@ -104,7 +104,7 @@ public class MainActivity extends AppCompatActivity { Button modifyDeviceInfoButton = findViewById(R.id.modifyDeviceInfoButton); if (modifyDeviceInfoButton != null) { - modifyDeviceInfoButton.setOnClickListener(v -> ClashUtil.switchProxyGroup("GLOBAL", "us", "http://127.0.0.1:6170")); + modifyDeviceInfoButton.setOnClickListener(v -> ChangeDeviceInfoUtil.changeDeviceInfo(getPackageName(),this)); } else { Toast.makeText(this, "modifyDeviceInfo button not found", Toast.LENGTH_SHORT).show(); }