SurfaceFlinger: Failed to find layer FullScreenFragmentActivity in layer parent (no-parent) : <p>I have a <code>BottomSheetFragmentActivity</code> which <a href="https://issuetracker.google.com/issues/68454482#comment37" rel="noreferrer">causes this crash on Android 8.0 devices</a>. I am looking for a workaround, without setting targetSDK back to 26.</p>

<p>I solved this <a href="https://stackoverflow.com/questions/46992843/interstitial-admob-ads-illegalstateexception-only-fullscreen-activities-can-r/48665610#48665610">as described here</a>:
But this in turn causes</p>

<blockquote>
  <p>SurfaceFlinger: Failed to find layer BottomSheetFragmentActivity#0 in layer parent (no-parent).</p>
</blockquote>

<p><strong>Is there a solution?</strong></p>
