diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-23 23:51:08 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-23 23:51:08 -0500 |
commit | e6ea9ea03e7206750d2c3be0ee8a8895b1680a0b (patch) | |
tree | 2c4c6ac2fc2bea541887de1f9423c81f9a6f5bc5 /app | |
parent | 00a8a151bca1aa246c08a463043ee816252bb7ad (diff) |
ConfigActivity: Log state transitions
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/com/wireguard/android/ConfigActivity.java | 3 |
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); |