summaryrefslogtreecommitdiff
path: root/app/java/src/SettingsActivity.java
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-05-14 13:20:43 +0200
committerDaniel Weipert <code@drogueronin.de>2023-05-14 13:24:30 +0200
commit6f4dc54bd119203da8dd1f91e65c4e4b99ab2ff0 (patch)
treefa7fe2459283fe81dba17f95eccdf5eded883e11 /app/java/src/SettingsActivity.java
parent6aae8398d489de5f33e8824a252793306d570d3c (diff)
menu
Diffstat (limited to 'app/java/src/SettingsActivity.java')
-rw-r--r--app/java/src/SettingsActivity.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/java/src/SettingsActivity.java b/app/java/src/SettingsActivity.java
new file mode 100644
index 0000000..83e2661
--- /dev/null
+++ b/app/java/src/SettingsActivity.java
@@ -0,0 +1,41 @@
+package org.pihole.dnsproxy;
+
+import android.app.Activity;
+import android.app.AlertDialog;
+
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.Intent;
+import android.content.IntentFilter;
+
+import android.net.VpnService;
+
+import android.os.Bundle;
+
+import android.util.Log;
+
+import android.view.Menu;
+import android.view.MenuInflater;
+import android.view.MenuItem;
+import android.view.TextureView;
+import android.view.View;
+
+import android.widget.Button;
+import android.widget.Toast;
+import android.provider.Settings;
+
+public class SettingsActivity extends Activity {
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+
+ setContentView(R.layout.settings);
+
+ // if (setting.get(USE_WIFI_LISTENER))
+ // requestPermissions(new String[]{
+ // android.Manifest.permission.ACCESS_FINE_LOCATION,
+ // }, 1234);
+ // startService(WifiListenerService);
+ }
+}