try fix for devices without compass
This commit is contained in:
parent
58827eae19
commit
3b017e9f4d
1 changed files with 2 additions and 0 deletions
|
@ -162,6 +162,8 @@ public class MainMenuActivity extends BaseDownloadActivity implements OsmAndLoca
|
|||
}
|
||||
getLocationProvider().addCompassListener(this);
|
||||
getLocationProvider().registerOrUnregisterCompassListener(true);
|
||||
//Looks like the next line may be needed to reliably show the DashFavoritesFragment upon app start also on devices which have no compass
|
||||
updateCompassValue(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue