summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/java/com
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-08-24 02:18:05 -0500
committerSamuel Holland <samuel@sholland.org>2017-08-24 02:18:05 -0500
commit3daddad573f23eb0040b022a28cbd3426244163c (patch)
tree96136597c077d710dc6ababd7a098cc510865e96 /app/src/main/java/com
parentdcc7ddcd3b34de4fb9d50742fd0679f8237e386c (diff)
Remove state debugging messages
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/java/com')
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigActivity.java7
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigDetailFragment.java3
-rw-r--r--app/src/main/java/com/wireguard/android/ConfigListFragment.java3
3 files changed, 0 insertions, 13 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);
}
diff --git a/app/src/main/java/com/wireguard/android/ConfigDetailFragment.java b/app/src/main/java/com/wireguard/android/ConfigDetailFragment.java
index 5a59376f..d6c02935 100644
--- a/app/src/main/java/com/wireguard/android/ConfigDetailFragment.java
+++ b/app/src/main/java/com/wireguard/android/ConfigDetailFragment.java
@@ -1,7 +1,6 @@
package com.wireguard.android;
import android.os.Bundle;
-import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
@@ -39,8 +38,6 @@ public class ConfigDetailFragment extends BaseConfigFragment {
@Override
protected void onCurrentConfigChanged(final Config config) {
- Log.d(getClass().getSimpleName(), "onCurrentConfigChanged config=" +
- (config != null ? config.getName() : null));
if (binding != null)
binding.setConfig(config);
}
diff --git a/app/src/main/java/com/wireguard/android/ConfigListFragment.java b/app/src/main/java/com/wireguard/android/ConfigListFragment.java
index bc44e05e..8586a741 100644
--- a/app/src/main/java/com/wireguard/android/ConfigListFragment.java
+++ b/app/src/main/java/com/wireguard/android/ConfigListFragment.java
@@ -2,7 +2,6 @@ package com.wireguard.android;
import android.content.res.Resources;
import android.os.Bundle;
-import android.util.Log;
import android.view.ActionMode;
import android.view.LayoutInflater;
import android.view.Menu;
@@ -71,8 +70,6 @@ public class ConfigListFragment extends BaseConfigFragment {
@Override
protected void onCurrentConfigChanged(final Config config) {
- Log.d(getClass().getSimpleName(), "onCurrentConfigChanged config=" +
- (config != null ? config.getName() : null));
final BaseConfigActivity activity = ((BaseConfigActivity) getActivity());
if (activity != null)
activity.setCurrentConfig(config);