title: NoSuchMethodError: No virtual method getInsetsController()
body: <p>I upgrade my app to SDK 30. I saw that FLAG_FULLSCREEN deprecated. Then, i changed the code with this;</p>
  <pre><code>final WindowInsetsController insetsController = getWindow().getInsetsController();
  if (insetsController != null) {
      insetsController.hide(WindowInsets.Type.statusBars());
  }
  </code></pre>
  <p>but I am getting this error when i try to run my app on API 26.</p>
  <pre><code>java.lang.NoSuchMethodError: No virtual method getInsetsController()Landroid/view/WindowInsetsController; in class Landroid/view/Window; or its super classes (declaration of 'android.view.Window' appears in /system/framework/framework.jar:classes2.dex)
  </code></pre>