Removed unnecessary logs
This commit is contained in:
parent
c69fc52f31
commit
8d50d73da6
|
@ -679,17 +679,17 @@ import no.nordicsemi.android.dfu.internal.exception.UploadAbortedException;
|
|||
}
|
||||
|
||||
protected void logw(final String message) {
|
||||
// if (BuildConfig.DEBUG) // TODO
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.w(TAG, message);
|
||||
}
|
||||
|
||||
protected void logi(final String message) {
|
||||
// if (BuildConfig.DEBUG) // TODO
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.i(TAG, message);
|
||||
}
|
||||
|
||||
protected void logd(final String message) {
|
||||
// if (BuildConfig.DEBUG) // TODO
|
||||
if (BuildConfig.DEBUG)
|
||||
Log.d(TAG, message);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -95,7 +95,6 @@ import no.nordicsemi.android.error.SecureDfuError;
|
|||
switch (requestType) {
|
||||
case OP_CODE_CALCULATE_CHECKSUM_KEY: {
|
||||
mProgressInfo.setBytesReceived(characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT32, 3));
|
||||
logi("PRN, bytes received: " + mProgressInfo.getBytesReceived()); // TODO remove
|
||||
// TODO check CRC?
|
||||
handlePacketReceiptNotification(gatt, characteristic);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue