Skip to content

Commit

Permalink
Fix(launcher activity): make landscape notch handling nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias-Boulay committed Dec 5, 2024
1 parent 76a76c9 commit a80b85d
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,12 @@ public void onFragmentResumed(@NonNull FragmentManager fm, @NonNull Fragment f)

@Override
protected boolean shouldIgnoreNotch() {
return getResources().getConfiguration().orientation == ORIENTATION_PORTRAIT || super.shouldIgnoreNotch();
return getResources().getConfiguration().orientation == ORIENTATION_PORTRAIT;
}

@Override
public boolean setFullscreen() {
return false;
}

@Override
Expand Down Expand Up @@ -227,11 +232,6 @@ protected void onPause() {
mInstallTracker.detach();
}

@Override
public boolean setFullscreen() {
return false;
}

@Override
protected void onStart() {
super.onStart();
Expand Down

0 comments on commit a80b85d

Please sign in to comment.