Remove update routine to check result
This commit is contained in:
parent
936391acc8
commit
7eed54e2ab
1 changed files with 10 additions and 9 deletions
|
@ -512,15 +512,16 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLocation(LatLon location) {
|
||||
for (WeakReference<Fragment> ref : fragList) {
|
||||
Fragment f = ref.get();
|
||||
if (f instanceof DashFavoritesFragment && !f.isDetached()) {
|
||||
((DashFavoritesFragment) f).updateLocation(location);
|
||||
}
|
||||
}
|
||||
}
|
||||
//Remove for now to check error
|
||||
//@Override
|
||||
//public void updateLocation(LatLon location) {
|
||||
// for (WeakReference<Fragment> ref : fragList) {
|
||||
// Fragment f = ref.get();
|
||||
// if (f instanceof DashFavoritesFragment && !f.isDetached()) {
|
||||
// ((DashFavoritesFragment) f).updateLocation(location);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
private OsmAndLocationProvider getLocationProvider() {
|
||||
return getMyApplication().getLocationProvider();
|
||||
|
|
Loading…
Reference in a new issue