diff --git a/app/src/main/java/eu/faircode/netguard/Rule.java b/app/src/main/java/eu/faircode/netguard/Rule.java
index a69ce4c2..dce8b856 100644
--- a/app/src/main/java/eu/faircode/netguard/Rule.java
+++ b/app/src/main/java/eu/faircode/netguard/Rule.java
@@ -213,6 +213,16 @@ public class Rule {
this.settings = null;
this.datasaver = null;
this.pkg = false;
+ } else if (info.applicationInfo.uid == 1021) {
+ this.name = context.getString(R.string.title_gpsdaemon);
+ this.description = null;
+ this.system = true;
+ this.internet = true;
+ this.enabled = true;
+ this.launch = null;
+ this.settings = null;
+ this.datasaver = null;
+ this.pkg = false;
} else if (info.applicationInfo.uid == 9999) {
this.name = context.getString(R.string.title_nobody);
this.description = null;
@@ -329,6 +339,16 @@ public class Rule {
media.applicationInfo.icon = 0;
listPI.add(media);
+ // Add GPS daemon
+ PackageInfo gps = new PackageInfo();
+ gps.packageName = "android.gps";
+ gps.versionCode = Build.VERSION.SDK_INT;
+ gps.versionName = Build.VERSION.RELEASE;
+ gps.applicationInfo = new ApplicationInfo();
+ gps.applicationInfo.uid = 1021;
+ gps.applicationInfo.icon = 0;
+ listPI.add(gps);
+
// Add nobody
PackageInfo nobody = new PackageInfo();
nobody.packageName = "nobody";
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index df03c050..7a4c1eef 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -272,6 +272,7 @@ Your internet traffic is not being sent to a remote VPN server.
Block mobile
root
mediaserver
+ GPS daemon
nobody
Don\'t ask again