summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--app/src/main/AndroidManifest.xml3
-rw-r--r--app/src/main/java/com/wireguard/android/ProfileActivity.java2
-rw-r--r--app/src/main/java/com/wireguard/android/SettingsActivity.java11
3 files changed, 15 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 77dec36f..93973b78 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -26,6 +26,9 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
+ <activity
+ android:name=".SettingsActivity"
+ android:label="@string/settings" />
<receiver android:name=".BootCompletedReceiver">
<intent-filter>
diff --git a/app/src/main/java/com/wireguard/android/ProfileActivity.java b/app/src/main/java/com/wireguard/android/ProfileActivity.java
index d23256d6..49502d07 100644
--- a/app/src/main/java/com/wireguard/android/ProfileActivity.java
+++ b/app/src/main/java/com/wireguard/android/ProfileActivity.java
@@ -57,7 +57,7 @@ abstract class ProfileActivity extends ServiceClientActivity<ProfileServiceInter
public abstract void onMenuSave(MenuItem item);
public void onMenuSettings(MenuItem item) {
-
+ startActivity(new Intent(this, SettingsActivity.class));
}
@Override
diff --git a/app/src/main/java/com/wireguard/android/SettingsActivity.java b/app/src/main/java/com/wireguard/android/SettingsActivity.java
new file mode 100644
index 00000000..c91a1bd2
--- /dev/null
+++ b/app/src/main/java/com/wireguard/android/SettingsActivity.java
@@ -0,0 +1,11 @@
+package com.wireguard.android;
+
+import android.app.Activity;
+import android.os.Bundle;
+
+public class SettingsActivity extends Activity {
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ }
+}