summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com/wireguard/android/ConfigActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/com/wireguard/android/ConfigActivity.java')
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigActivity.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/src/main/java/com/wireguard/android/ConfigActivity.java b/app/src/main/java/com/wireguard/android/ConfigActivity.java
index 3293690d..6de46845 100644
--- a/app/src/main/java/com/wireguard/android/ConfigActivity.java
+++ b/app/src/main/java/com/wireguard/android/ConfigActivity.java
@@ -5,7 +5,6 @@ import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
-import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
@@ -103,9 +102,6 @@ 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);
@@ -165,15 +161,12 @@ public class ConfigActivity extends BaseConfigActivity {
@Override
protected void onCurrentConfigChanged(final Config config) {
- Log.d(getClass().getSimpleName(), "onCurrentConfigChanged: config=" +
- (config != null ? config.getName() : null));
// Abandon editing a config when the current config changes.
moveToState(config, false);
}
@Override
protected void onEditingStateChanged(final boolean isEditing) {
- Log.d(getClass().getSimpleName(), "onEditingStateChanged: isEditing=" + isEditing);
moveToState(getCurrentConfig(), isEditing);
}