コード例 #1
0
 private Location getLocation() {
   Location location = locationHelper.getLastLocation();
   if (session.isLocationless()) {
     location = new Location("fake");
     location.setLatitude(TOTALLY_FAKE_COORDINATE);
     location.setLongitude(TOTALLY_FAKE_COORDINATE);
   }
   return location;
 }
コード例 #2
0
 public boolean isLocationless() {
   return session.isLocationless();
 }