Enhance `ChangeDeviceInfoUtil` to collect extensive device and environment data

Added detailed data collection including network type, language, country, advertiser ID, AppsFlyer parameters, device information, sensor data, battery status, and timestamps. Improved network type detection with `NetworkCapabilities` for accuracy. Integrated mock values for testing.
This commit is contained in:
yjj38 2025-06-09 22:05:48 +08:00
parent 6b4e8e4f9e
commit d2661f8fdb
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class MainActivity extends AppCompatActivity {
if (!ClashUtil.checkProxy(this)) { if (!ClashUtil.checkProxy(this)) {
startProxyVpn(this); startProxyVpn(this);
} else { } else {
ClashUtil.switchProxyGroup("GLOBAL", proxyNames[i], "127.0.0.1:6170"); ClashUtil.switchProxyGroup("GLOBAL", proxyNames[i], "http://127.0.0.1:6170");
} }
ChangeDeviceInfoUtil.changeDeviceInfo(getPackageName(), this); ChangeDeviceInfoUtil.changeDeviceInfo(getPackageName(), this);
AutoJsUtil.runAutojsScript(this); AutoJsUtil.runAutojsScript(this);