From b8ba5a98c14810a99411b4faa0fd125af881a55c Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 17 Apr 2020 18:38:44 -0700 Subject: [PATCH] remove too-frequent logging --- .../app/src/main/java/org/eehouse/android/xw4/DBUtils.java | 2 +- .../src/main/java/org/eehouse/android/xw4/DupeModeTimer.java | 4 ++-- .../app/src/main/java/org/eehouse/android/xw4/NFCUtils.java | 2 +- .../src/main/java/org/eehouse/android/xw4/jni/JNIThread.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java index a04b8dfbb..bef650e05 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DBUtils.java @@ -1541,7 +1541,7 @@ public class DBUtils { } s_groupsCache = result; } - Log.d( TAG, "getGroups() => %s", result ); + // Log.d( TAG, "getGroups() => %s", result ); return result; } // getGroups diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DupeModeTimer.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DupeModeTimer.java index 55aab7c3d..db258a134 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DupeModeTimer.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DupeModeTimer.java @@ -73,7 +73,7 @@ public class DupeModeTimer extends BroadcastReceiver { public void gameSaved( Context context, long rowid, GameChangeType change ) { - Log.d( TAG, "gameSaved(rowid=%d,change=%s) called", rowid, change ); + // Log.d( TAG, "gameSaved(rowid=%d,change=%s) called", rowid, change ); switch( change ) { case GAME_CHANGED: case GAME_CREATED: @@ -81,7 +81,7 @@ public class DupeModeTimer extends BroadcastReceiver { if ( sDirtyVals.containsKey( rowid ) ) { sQueue.addOne( context, rowid ); } else { - Log.d( TAG, "skipping; not dirty" ); + // Log.d( TAG, "skipping; not dirty" ); } } break; diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/NFCUtils.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/NFCUtils.java index 371c24d46..6d675a00e 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/NFCUtils.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/NFCUtils.java @@ -992,7 +992,7 @@ public class NFCUtils { mAdapter.disableReaderMode( mActivity ); } mInReadMode = wantReadMode; - Log.d( TAG, "run(): inReadMode now: %b", mInReadMode ); + // Log.d( TAG, "run(): inReadMode now: %b", mInReadMode ); // Now sleep. If we aren't going to want to toggle read // mode soon, sleep until interrupted by a state change, diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/jni/JNIThread.java index 46f02ef61..4aa9d05a5 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/jni/JNIThread.java @@ -401,7 +401,7 @@ public class JNIThread extends Thread implements AutoCloseable { // PENDING: once certain this is true, stop saving the full array and // instead save the hash. Also, update it after each save. if ( hashesEqual ) { - Log.d( TAG, "save_jni(): no change in game; can skip saving" ); + // Log.d( TAG, "save_jni(): no change in game; can skip saving" ); } else { // Don't need this!!!! this only runs on the run() thread synchronized( this ) {