This commit is contained in:
sonora 2015-01-06 11:11:38 +01:00
parent aca9132bbc
commit 743d43d637
2 changed files with 2 additions and 2 deletions

View file

@ -810,7 +810,7 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
Sensor s = ((SensorManager) getSystemService(Context.SENSOR_SERVICE)).getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
if (s == null) {
screenOrientation = 0;
{
}
draw.setAngle(mes[1] - a + 180 + screenOrientation);

View file

@ -209,7 +209,7 @@ public class DashFavoritesFragment extends DashBaseFragment {
Sensor s = ((SensorManager) getActivity().getSystemService(Context.SENSOR_SERVICE)).getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);
if (s == null) {
screenOrientation = 0;
{
}
draw.setAngle(mes[1] - a + 180 + screenOrientation);