summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigActivity.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/com/wireguard/android/ConfigActivity.java b/app/src/main/java/com/wireguard/android/ConfigActivity.java
index 627dc646..9743720b 100644
--- a/app/src/main/java/com/wireguard/android/ConfigActivity.java
+++ b/app/src/main/java/com/wireguard/android/ConfigActivity.java
@@ -95,6 +95,9 @@ public class ConfigActivity extends BaseConfigActivity {
* @param shouldBeEditing Whether or not the config should be in the editing state.
*/
private void moveToState(final Config config, final boolean shouldBeEditing) {
+ Log.d(getClass().getSimpleName(), "moveToState: config=" +
+ (config != null ? config.getName() : null) + " shouldBeEditing=" + shouldBeEditing);
+
// Update the saved state.
setCurrentConfig(config);
setIsEditing(shouldBeEditing);