fix typo
This commit is contained in:
parent
e21853b161
commit
6c20fd5bdf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue