From 6c20fd5bdf0e6b7793c20fcd83ab436d58668367 Mon Sep 17 00:00:00 2001 From: sonora Date: Tue, 6 Jan 2015 02:12:41 +0100 Subject: [PATCH] fix typo --- OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java index 47a64feecc..736fc5c85b 100644 --- a/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java +++ b/OsmAnd/src/net/osmand/plus/dashboard/DashFavoritesFragment.java @@ -186,7 +186,7 @@ public class DashFavoritesFragment extends DashBaseFragment { //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 = ((WindowManager) getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getRotation(); - int screenRotation + int screenRotation; switch (screenOrientation) { case ORIENTATION_0: // Portrait