Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add and use TAG
  • Loading branch information
saercnap authored and bewest committed Jul 18, 2014
commit f13db15d5f6eef050a7462c68b7d398d2d1413f4
4 changes: 3 additions & 1 deletion src/com/nightscout/android/dexcom/USB/UsbSerialProber.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public UsbSerialDriver getDevice(final UsbManager manager, final UsbDevice usbDe
}
};*/

private static final String TAG = UsbSerialProber.class.getCanonicalName();

/**
* Builds a new {@link UsbSerialDriver} instance from the raw device, or
* returns <code>null</code> if it could not be built (for example, if the
Expand Down Expand Up @@ -130,7 +132,7 @@ public static UsbSerialDriver acquire(final UsbManager usbManager) {
*/
public static UsbSerialDriver acquire(final UsbManager usbManager, final UsbDevice usbDevice) {
if (!usbManager.hasPermission(usbDevice)) {
Log.i("Prober", "No permission for " + usbDevice.getVendorId() + " " + usbDevice.getProductId());
Log.i(TAG, "No permission for " + usbDevice.getVendorId() + " " + usbDevice.getProductId());
return null;
}
for (final UsbSerialProber prober : values()) {
Expand Down