summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-09 07:34:28 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-09 07:34:28 -0500
commitd00480a3a5bbc179117d051180c6ee5316d34544 (patch)
treea521dcbd04c0fd500196ebcc9b2ad330955be0b0 /app/src/main/java/com
parentaf8e013e3307b7146308ac8afd9a1cc9b3ceba63 (diff)
Settings: Add empty activity
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/wireguard/android/ProfileActivity.java2
-rw-r--r--app/src/main/java/com/wireguard/android/SettingsActivity.java11
2 files changed, 12 insertions, 1 deletions
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);
+ }
+}