title: android.view.View.systemUiVisibility deprecated. What is the replacement?
body: <p>I have updated the project target API version to 30, and now I see that the systemUiVisibility property is deprecated.</p>
  <p>The following kotlin code is the one I'm using which is actually equivalent to <a href="https://developer.android.com/reference/android/view/View#setSystemUiVisibility(int)" rel="noreferrer">setSystemUiVisibility</a> method in Java.</p>
  <pre><code>playerView.systemUiVisibility = (View.SYSTEM_UI_FLAG_LOW_PROFILE
              or View.SYSTEM_UI_FLAG_FULLSCREEN
              or View.SYSTEM_UI_FLAG_LAYOUT_STABLE
              or View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
              or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
              or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION)
  </code></pre>
  <p>Please let me know if you have got any stable replacement for this deprecated code. The google's recommendation is to use <code>WindowInsetsController</code>, but I don't how to do that.</p>