Send if system application

This commit is contained in:
M66B 2016-07-09 08:47:35 +02:00
parent 29bc7d1628
commit bf4b74a06f
2 changed files with 2 additions and 1 deletions

2
FAQ.md
View File

@ -374,7 +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 name, version and installer
* The application name, version and installer and whether the application is a user installed or a system application
* 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

View File

@ -178,6 +178,7 @@ public class ServiceJob extends JobService {
bundle.putInt("version_code", rule.info.versionCode);
bundle.putString("version_name", rule.info.versionName);
bundle.putString("label", rule.info.applicationInfo.loadLabel(pm).toString());
bundle.putInt("system", rule.system ? 1 : 0);
bundle.putString("installer", pm.getInstallerPackageName(rule.info.packageName));
// Cancel overlapping jobs