diff --git a/android/src/main/java/com/github/yamill/orientation/OrientationModule.java b/android/src/main/java/com/github/yamill/orientation/OrientationModule.java index 501b7ff0..85331aea 100644 --- a/android/src/main/java/com/github/yamill/orientation/OrientationModule.java +++ b/android/src/main/java/com/github/yamill/orientation/OrientationModule.java @@ -112,7 +112,7 @@ public void unlockAllOrientations() { if (activity == null) { return; } - activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); + activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); } @Override