Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-01-06 15:28:13 +01:00
commit 15e6c7d6fe
2 changed files with 0 additions and 2 deletions

View file

@ -788,7 +788,6 @@ public class SearchPOIActivity extends OsmandListActivity implements OsmAndCompa
float a = h != null ? h : 0;
//Hardy: getRotation() is the correction if device's screen orientation != the default display's standard orientation
//TODO: getOrientation() needs to be used for API<8, deprecated after that
int screenOrientation = 0;
screenOrientation = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation();
switch (screenOrientation)

View file

@ -187,7 +187,6 @@ public class DashFavoritesFragment extends DashBaseFragment {
float a = h != null ? h : 0;
//Hardy: getRotation() is the correction if device's screen orientation != the default display's standard orientation
//TODO: getOrientation() needs to be used for API<8, deprecated after that
int screenOrientation = 0;
screenOrientation = ((WindowManager) getActivity().getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation();
switch (screenOrientation)