What is the difference between Display.getRotation() and Display.getOrientation() apart from the fact that it Display.getOrientation() is deprecated?
Do both return an int equal to one of Surface.ROTATION_0, Surface.ROTATION_90, Surface.ROTATION_180, Surface.ROTATION_270?
getRotation() just calls the deprecated method getOrientation(), check the source code of class Display. So it seems to have been deprecated merely for a better name.