Skip to content

Commit

Permalink
[Android] UnlockAllOrintation method. SCREEN_ORIENTATION_UNSPECIFIED …
Browse files Browse the repository at this point in the history
…constant replaced with SCREEN_ORIENTATION_SENSOR (#254)
  • Loading branch information
nmorozov authored and stoneman1 committed Dec 30, 2017
1 parent b54df50 commit 0a4da5d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void unlockAllOrientations() {
if (activity == null) {
return;
}
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED);
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
}

@Override
Expand Down

0 comments on commit 0a4da5d

Please sign in to comment.