From 632f3f73a2133221242668051465b55fcc3e1f55 Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Wed, 23 Aug 2017 23:51:08 -0500 Subject: ConfigActivity: Log state transitions Signed-off-by: Jason A. Donenfeld --- 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