From 1ad5e5ddf7cd0f51d8f2e231bbb422e1f8b8a0af Mon Sep 17 00:00:00 2001 From: Sean Barbeau Date: Wed, 3 Jul 2019 16:31:47 -0400 Subject: [PATCH] Code cleanup --- .../travelbehavior/receiver/LocationBroadcastReceiver.java | 1 - .../main/java/org/onebusaway/android/util/RegionUtils.java | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/onebusaway-android/src/main/java/org/onebusaway/android/travelbehavior/receiver/LocationBroadcastReceiver.java b/onebusaway-android/src/main/java/org/onebusaway/android/travelbehavior/receiver/LocationBroadcastReceiver.java index 09a852f12..3f26b1414 100644 --- a/onebusaway-android/src/main/java/org/onebusaway/android/travelbehavior/receiver/LocationBroadcastReceiver.java +++ b/onebusaway-android/src/main/java/org/onebusaway/android/travelbehavior/receiver/LocationBroadcastReceiver.java @@ -44,6 +44,5 @@ public void onReceive(Context context, Intent intent) { Log.d(TAG, "Location provider is null"); } } - } } diff --git a/onebusaway-android/src/main/java/org/onebusaway/android/util/RegionUtils.java b/onebusaway-android/src/main/java/org/onebusaway/android/util/RegionUtils.java index 1eba349d7..001141993 100644 --- a/onebusaway-android/src/main/java/org/onebusaway/android/util/RegionUtils.java +++ b/onebusaway-android/src/main/java/org/onebusaway/android/util/RegionUtils.java @@ -468,8 +468,8 @@ public static ArrayList getRegionsFromProvider(Context context) { c.getString(16), // Android App ID for mobile fare payment app of region c.getString(17), // Payment Warning Title c.getString(18), // Payment Warning Body - c.getInt(19) > 0, // travel behavior data collection - c.getInt(20) > 0 + c.getInt(19) > 0, // travel behavior data collection enabled for region + c.getInt(20) > 0 // enrolling participants for travel behavior data collection )); } while (c.moveToNext());