Skip to content

how to avoid camera notch on the whole game screen? #1966

Answered by meehjeevan
meehjeevan asked this question in Q&A
Discussion options

You must be logged in to vote

Ok I found it's being controlled from java codes and not from manifest.xml.

I changed WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES to
WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER;

And it worked.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@meehjeevan
Comment options

@rh101
Comment options

@meehjeevan
Comment options

Answer selected by meehjeevan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants