Do not resolve the locking promise with OrientationInformation.
Merge pull request #20 from mounirlamouri/resolve_undefined

Do not resolve the locking promise with OrientationInformation.