Yes, on recent versions `getOrientation()` just calls through to `getRotation()`. On previous versions `getRotation()` called through to `getOrientation()`, which was a native method.