remove some logging

This commit is contained in:
Eric House 2019-02-06 22:55:31 -08:00
parent 842509d84a
commit 136fa6ac7d

View file

@ -221,9 +221,8 @@ public class RelayService extends JobIntentService
private static void enqueueWork( Context context, Intent intent ) private static void enqueueWork( Context context, Intent intent )
{ {
Log.d( TAG, "calling enqueueWork(cmd=%s)", cmdFrom( intent ) );
enqueueWork( context, RelayService.class, sJobID, intent ); enqueueWork( context, RelayService.class, sJobID, intent );
Log.d( TAG, "enqueueWork() returned" ); Log.d( TAG, "called enqueueWork(cmd=%s)", cmdFrom( intent ) );
} }
private static MsgCmds cmdFrom( Intent intent ) private static MsgCmds cmdFrom( Intent intent )
@ -561,13 +560,11 @@ public class RelayService extends JobIntentService
} }
} else { } else {
Assert.assertTrue( s_UDPSocket.isConnected() ); Assert.assertTrue( s_UDPSocket.isConnected() );
Log.i( TAG, "s_UDPSocket not null" );
} }
} }
private boolean serviceQueue() private boolean serviceQueue()
{ {
Log.d( TAG, "serviceQueue()" );
boolean shouldGoOn = true; boolean shouldGoOn = true;
List<PacketData> dataListUDP = new ArrayList<>(); List<PacketData> dataListUDP = new ArrayList<>();
List<PacketData> dataListWeb = new ArrayList<>(); List<PacketData> dataListWeb = new ArrayList<>();
@ -602,7 +599,6 @@ public class RelayService extends JobIntentService
Log.w( TAG, "write thread killed" ); Log.w( TAG, "write thread killed" );
shouldGoOn = false; shouldGoOn = false;
} }
Log.d( TAG, "serviceQueue() => %b", shouldGoOn );
return shouldGoOn; return shouldGoOn;
} }
@ -1346,7 +1342,6 @@ public class RelayService extends JobIntentService
private void postGotPacket( Context context, DatagramPacket packet ) private void postGotPacket( Context context, DatagramPacket packet )
{ {
Log.d( TAG, "postGotPacket()" );
int packetLen = packet.getLength(); int packetLen = packet.getLength();
byte[] data = new byte[packetLen]; byte[] data = new byte[packetLen];
System.arraycopy( packet.getData(), 0, data, 0, packetLen ); System.arraycopy( packet.getData(), 0, data, 0, packetLen );