mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-04 06:23:04 +00:00
Add version code/name to submit
This commit is contained in:
parent
e6a8a6b572
commit
dceb2fd682
2 changed files with 3 additions and 2 deletions
3
FAQ.md
3
FAQ.md
|
@ -374,8 +374,7 @@ The following data will be shared:
|
|||
|
||||
* The [SHA256](https://en.wikipedia.org/wiki/SHA-2) hashed [Android ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID)
|
||||
* The [Android version](https://developer.android.com/reference/android/os/Build.VERSION_CODES.html)
|
||||
* The application package name
|
||||
* The localized application name
|
||||
* The application name and version
|
||||
* Whether Wi-Fi and mobile connections will be blocked or allowed and which conditions apply (when screen on, roaming)
|
||||
* Whether access attempts will be notified
|
||||
* Which internet addresses (protocol, version, host, port) will be allowed and blocked
|
||||
|
|
|
@ -174,6 +174,8 @@ public class ServiceJob extends JobService {
|
|||
|
||||
// Add application data
|
||||
bundle.putString("package", rule.info.packageName);
|
||||
bundle.putInt("version_code", rule.info.versionCode);
|
||||
bundle.putString("version_name", rule.info.versionName);
|
||||
bundle.putString("label", rule.info.applicationInfo.loadLabel(pm).toString());
|
||||
|
||||
// Cancel overlapping jobs
|
||||
|
|
Loading…
Reference in a new issue