diff options
Diffstat (limited to 'android-mobile/src/org/subsurfacedivelog/mobile')
-rw-r--r-- | android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java b/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java index 432785f3c..881016285 100644 --- a/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java +++ b/android-mobile/src/org/subsurfacedivelog/mobile/SubsurfaceMobileActivity.java @@ -53,13 +53,7 @@ public class SubsurfaceMobileActivity extends QtActivity public void onNewIntent(Intent intent) { Log.i(TAG + " onNewIntent", intent.getAction()); UsbDevice device = (UsbDevice) intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); - Log.i(TAG + " onNewIntent device name", device.getDeviceName()); - // if (Build.VERSION.SDK_INT > 20) { - // Log.i(TAG + " onNewIntent manufacturer name", device.getManufacturerName()); - // Log.i(TAG + " onNewIntent product name", device.getProductName()); - // } Log.i(TAG + " onNewIntent toString", device.toString()); - setDeviceString(device.toString()); super.onNewIntent(intent); setIntent(intent); // Intent will be processed, if all is initialized and Qt / QML can handle the event @@ -88,10 +82,6 @@ public class SubsurfaceMobileActivity extends QtActivity Log.i(TAG + " processIntent", intent.getAction()); UsbDevice device = (UsbDevice) intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); Log.i(TAG + " processIntent device name", device.getDeviceName()); - // if (Build.VERSION.SDK_INT > 20) { - // Log.i(TAG + " processIntent manufacturer name", device.getManufacturerName()); - // Log.i(TAG + " processIntent product name", device.getProductName()); - // } - Log.i(TAG + " processIntent toString", device.toString()); + setDeviceString(device.toString()); } // processIntent } |