diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-10 12:03:24 +0100 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2014-11-11 09:15:09 +0100 |
commit | 93a0343ab23cdb6e098cf8df378deb2195e0ca06 (patch) | |
tree | 6b67963cd659542a7209675a8327baa51592c06e /src/android | |
parent | 5488d1cd532b47c0a322a8f0ab31cf70f4e076da (diff) |
Don't print the Java stacktrace when reaching last entry of last service
We jump out and that's it. We expect the exception in those cases.
Change-Id: I0fa1b42a0eb5893dec6f68a5353dfb5da3caa137
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/android')
-rw-r--r-- | src/android/bluetooth/src/org/qtproject/qt5/android/bluetooth/QtBluetoothLE.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/bluetooth/src/org/qtproject/qt5/android/bluetooth/QtBluetoothLE.java b/src/android/bluetooth/src/org/qtproject/qt5/android/bluetooth/QtBluetoothLE.java index 9295c2bb..0ed4962b 100644 --- a/src/android/bluetooth/src/org/qtproject/qt5/android/bluetooth/QtBluetoothLE.java +++ b/src/android/bluetooth/src/org/qtproject/qt5/android/bluetooth/QtBluetoothLE.java @@ -512,7 +512,7 @@ public class QtBluetoothLE { try { entry = entries.get(nextHandle); } catch (IndexOutOfBoundsException ex) { - ex.printStackTrace(); + //ex.printStackTrace(); Log.w(TAG, "Last entry of last service read"); finishCurrentServiceDiscovery(); return; |