summaryrefslogtreecommitdiff
path: root/app/java/src/DNSService.java
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-05-11 20:03:37 +0200
committerDaniel Weipert <code@drogueronin.de>2023-05-11 20:03:37 +0200
commiteefe2bdea6e79548ef5a0c0a50b3afc495b034b3 (patch)
tree1ba6f80cd8d2a56de3b0e9a0029603dbd9ff57c6 /app/java/src/DNSService.java
parent9919df9457d95e5bd156f313549c8d8b26f09f24 (diff)
next commit
Diffstat (limited to 'app/java/src/DNSService.java')
-rw-r--r--app/java/src/DNSService.java33
1 files changed, 0 insertions, 33 deletions
diff --git a/app/java/src/DNSService.java b/app/java/src/DNSService.java
deleted file mode 100644
index 4f760a5..0000000
--- a/app/java/src/DNSService.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.pihole.dnsproxy;
-
-import android.app.AlertDialog;
-import android.app.Service;
-
-import android.content.Intent;
-
-import android.net.VpnService;
-
-public class DNSService extends VpnService {
-
- private static boolean isRunning = false;
-
- @Override
- public int onStartCommand(Intent intent, int flags, int startId) {
- //VpnService.prepare();
-
- DNSService.isRunning = true;
-
- return Service.START_STICKY;
- }
-
- @Override
- public void onDestroy() {
- DNSService.isRunning = false;
- super.onDestroy();
- }
-
- public static boolean isRunning()
- {
- return DNSService.isRunning;
- }
-}