Skip to content

Commit

Permalink
Fix issue where orientation would stay locked after turning off profile
Browse files Browse the repository at this point in the history
  • Loading branch information
farmerbb committed Sep 11, 2024
1 parent 7a5c565 commit d8796a1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ private void drawSystemOverlay() {
params.gravity = Gravity.TOP | Gravity.START;
params.screenOrientation = screenOrientation;

if (view != null) return;

view = new View(this);
windowManager.addView(view, params);
}
Expand Down

0 comments on commit d8796a1

Please sign in to comment.