title: How to handle notch(display cutout) in android API lower than 28?
body: <p>Android added notch support on API 28, but how to handle it on devices running API 27 (Honor 10, Huawei P20, etc.) ?  </p>
  
  <p>I was trying to use <code>DisplayCutoutCompat</code> but I was not able to create an instance of it since  documentation does not really point out how create one. </p>
  
  <p>How to create the constructor parameter values: <code>Rect safeInsets</code>, <code>List&lt;Rect&gt; boundingRects</code>?  </p>
  
  <p>I also looked into the source code of the constructor, which is a bit confusing to me: </p>
  
  <pre><code>public DisplayCutoutCompat(Rect safeInsets, List&lt;Rect&gt; boundingRects) {
          this(SDK_INT &gt;= 28 ? new DisplayCutout(safeInsets, boundingRects) : null);
      }
  </code></pre>
  
  <p>This will always return null on devices running <strong>API &lt; 28</strong>.
  Thank you in advance.</p>