summaryrefslogtreecommitdiff
path: root/bordeaux/service/src/android/bordeaux/services/ClusterManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'bordeaux/service/src/android/bordeaux/services/ClusterManager.java')
-rw-r--r--bordeaux/service/src/android/bordeaux/services/ClusterManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bordeaux/service/src/android/bordeaux/services/ClusterManager.java b/bordeaux/service/src/android/bordeaux/services/ClusterManager.java
index 625f5ad4b..14721ba55 100644
--- a/bordeaux/service/src/android/bordeaux/services/ClusterManager.java
+++ b/bordeaux/service/src/android/bordeaux/services/ClusterManager.java
@@ -180,7 +180,6 @@ public class ClusterManager {
saveSemanticClusters();
}
-
private void loadSemanticClusters() {
List<Map<String, String> > allData = mStorage.getAllData();
@@ -291,8 +290,9 @@ public class ClusterManager {
}
public String getSemanticLocation() {
- String label = UNKNOWN_LOCATION;
+ String label = LocationStatsAggregator.UNKNOWN_LOCATION;
+ // instead of using the last location, try acquiring the latest location.
if (mLastLocation != null) {
// TODO: use fast neatest neighbor search speed up location search
for (SemanticCluster cluster: mSemanticClusters) {