title: Hide Notch grey background when launching splash screen
body: <p><strong>For react-native app on Android For the devices with Notch</strong> -
  I am able to use full screen mode on all screens except Splash screen by this code : This code basically uses full screen even behind the notch. </p>
  
  <pre><code>if (Build.VERSION.SDK_INT &gt;= Build.VERSION_CODES.P) {
             WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams();
      layoutParams.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
      getWindow().setAttributes(layoutParams);
      getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
      getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
  
  }
  </code></pre>
  
  <p><strong>I need to use full screen mode on Splash screen as well. It shows grey / default bg color as shown below.</strong> </p>
  
  <p><a href="https://i.stack.imgur.com/AnAFj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AnAFj.png" alt="t"></a></p>