summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/android
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-22 01:27:29 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-22 01:27:29 -0500
commit5d04714eeae71e2404a3dd61b67a5348cbbc62a2 (patch)
tree43e108abc0f81593356f707e71e445a479445dcc /app/src/main/java/com/wireguard/android
parent90cd59c86686d4b9cb4d2cc4fca625843ccb3131 (diff)
ConfigAddActivity: Rename to AddActivity
Not everything needs to start with Config Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com/wireguard/android')
-rw-r--r--app/src/main/java/com/wireguard/android/AddActivity.java (renamed from app/src/main/java/com/wireguard/android/ConfigAddActivity.java)4
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigActivity.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/com/wireguard/android/ConfigAddActivity.java b/app/src/main/java/com/wireguard/android/AddActivity.java
index f299a67c..7e31c876 100644
--- a/app/src/main/java/com/wireguard/android/ConfigAddActivity.java
+++ b/app/src/main/java/com/wireguard/android/AddActivity.java
@@ -10,11 +10,11 @@ import com.wireguard.config.Config;
* Standalone activity for creating configurations.
*/
-public class ConfigAddActivity extends BaseConfigActivity {
+public class AddActivity extends BaseConfigActivity {
@Override
public void onCreate(final Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
- setContentView(R.layout.config_add_activity);
+ setContentView(R.layout.add_activity);
}
@Override
diff --git a/app/src/main/java/com/wireguard/android/ConfigActivity.java b/app/src/main/java/com/wireguard/android/ConfigActivity.java
index 628aaeb6..e81b6c9c 100644
--- a/app/src/main/java/com/wireguard/android/ConfigActivity.java
+++ b/app/src/main/java/com/wireguard/android/ConfigActivity.java
@@ -169,7 +169,7 @@ public class ConfigActivity extends BaseConfigActivity {
onBackPressed();
return true;
case R.id.menu_action_add:
- startActivity(new Intent(this, ConfigAddActivity.class));
+ startActivity(new Intent(this, AddActivity.class));
return true;
case R.id.menu_action_edit:
// Try to make the editing fragment visible.