Explanation in the documentation:
- flags int: The new window flags
- mask int: Which of the window flag bits to modify.
I'm just trying to set the full screen when the activity is loaded by using getWindow().setFlag(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN)
It works but I just don't understand the meaning behind the method's parameters. I'm thinking that flags is the look I want for the current window, but I don't know what mask does and why is it identical to flags