From e6ea9ea03e7206750d2c3be0ee8a8895b1680a0b Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 23 Aug 2017 23:51:08 -0500 Subject: ConfigActivity: Log state transitions --- app/src/main/java/com/wireguard/android/ConfigActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app') 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); -- cgit v1.2.3