amend comments

This commit is contained in:
sonora 2015-01-06 15:27:50 +01:00
parent 8d639d4b63
commit 1561913fe3
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)