- Enable dev mode on device.
- Emulate cutout (chose "Tall cutout" option).
getWindow().getDecorView().getRootWindowInsets().getDisplayCutout()
returnsnull
.
But for "Double cutout" it returns correct result.
Device: Pixel 3 with Android 10.
getWindow().getDecorView().getRootWindowInsets().getDisplayCutout()
returns null
.But for "Double cutout" it returns correct result.
Device: Pixel 3 with Android 10.