summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorBrad Leege <bleege@gmail.com>2016-04-07 12:27:12 -0500
committerBrad Leege <bleege@gmail.com>2016-04-07 12:27:12 -0500
commit891685188b6bbda1a79ab93d4a16d36ce9177047 (patch)
tree2c993647a31d4df71221cbdcf64f120f5ab4219c /platform/android
parent62d25b47ae55351d15ee5156b81980eba08b81fe (diff)
parentc57edfc6f5e730c2f3fd5a91a867deae714b1db1 (diff)
downloadqtlocation-mapboxgl-891685188b6bbda1a79ab93d4a16d36ce9177047.tar.gz
Merge branch 'syntaxSugar' of git://github.com/vacxe/mapbox-gl-native into vacxe-syntaxSugar
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java
index 9262d95f75..b5d932ac71 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/telemetry/MapboxEventManager.java
@@ -527,7 +527,7 @@ public class MapboxEventManager {
@Override
protected Void doInBackground(Void... voids) {
- if (events.size() < 1) {
+ if (events.isEmpty()) {
Log.d(TAG, "No events in the queue to send so returning.");
return null;
}