From c199827b585c6deea69e8f286f5c4a6024ac479f Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 9 Aug 2017 07:30:25 -0500 Subject: [PATCH] ProfileEdit: Add empty activity/fragment Signed-off-by: Jason A. Donenfeld --- app/src/main/AndroidManifest.xml | 3 +++ .../wireguard/android/ProfileActivity.java | 1 + .../android/ProfileEditActivity.java | 19 +++++++++++++++++++ .../android/ProfileEditFragment.java | 8 ++++++++ app/src/main/res/values/strings.xml | 1 + 5 files changed, 32 insertions(+) create mode 100644 app/src/main/java/com/wireguard/android/ProfileEditActivity.java create mode 100644 app/src/main/java/com/wireguard/android/ProfileEditFragment.java diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2544e546..77dec36f 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,6 +16,9 @@ android:name=".ProfileDetailActivity" android:label="" android:parentActivityName=".ProfileListActivity" /> + diff --git a/app/src/main/java/com/wireguard/android/ProfileActivity.java b/app/src/main/java/com/wireguard/android/ProfileActivity.java index ea1836c1..d23256d6 100644 --- a/app/src/main/java/com/wireguard/android/ProfileActivity.java +++ b/app/src/main/java/com/wireguard/android/ProfileActivity.java @@ -13,6 +13,7 @@ abstract class ProfileActivity extends ServiceClientActivityConnected Disconnected Edit + Edit WireGuard Profile No profile selected Profile name Public key