diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-09 07:34:28 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-09 07:34:28 -0500 |
commit | d00480a3a5bbc179117d051180c6ee5316d34544 (patch) | |
tree | a521dcbd04c0fd500196ebcc9b2ad330955be0b0 /app/src/main/java/com/wireguard | |
parent | af8e013e3307b7146308ac8afd9a1cc9b3ceba63 (diff) |
Settings: Add empty activity
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard')
-rw-r--r-- | app/src/main/java/com/wireguard/android/ProfileActivity.java | 2 | ||||
-rw-r--r-- | app/src/main/java/com/wireguard/android/SettingsActivity.java | 11 |
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); + } +} |