Removed unnecessary logs

This commit is contained in:
Aleksander Nowakowski 2016-09-05 18:43:23 +02:00
parent c69fc52f31
commit 8d50d73da6
2 changed files with 3 additions and 4 deletions

View File

@ -679,17 +679,17 @@ import no.nordicsemi.android.dfu.internal.exception.UploadAbortedException;
} }
protected void logw(final String message) { protected void logw(final String message) {
// if (BuildConfig.DEBUG) // TODO if (BuildConfig.DEBUG)
Log.w(TAG, message); Log.w(TAG, message);
} }
protected void logi(final String message) { protected void logi(final String message) {
// if (BuildConfig.DEBUG) // TODO if (BuildConfig.DEBUG)
Log.i(TAG, message); Log.i(TAG, message);
} }
protected void logd(final String message) { protected void logd(final String message) {
// if (BuildConfig.DEBUG) // TODO if (BuildConfig.DEBUG)
Log.d(TAG, message); Log.d(TAG, message);
} }
} }

View File

@ -95,7 +95,6 @@ import no.nordicsemi.android.error.SecureDfuError;
switch (requestType) { switch (requestType) {
case OP_CODE_CALCULATE_CHECKSUM_KEY: { case OP_CODE_CALCULATE_CHECKSUM_KEY: {
mProgressInfo.setBytesReceived(characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT32, 3)); mProgressInfo.setBytesReceived(characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT32, 3));
logi("PRN, bytes received: " + mProgressInfo.getBytesReceived()); // TODO remove
// TODO check CRC? // TODO check CRC?
handlePacketReceiptNotification(gatt, characteristic); handlePacketReceiptNotification(gatt, characteristic);
break; break;