getDisplayCutout() returns null if emulated Tall cutout

151 views Asked by At
  1. Enable dev mode on device.
  2. Emulate cutout (chose "Tall cutout" option).
  3. getWindow().getDecorView().getRootWindowInsets().getDisplayCutout() returns null.

But for "Double cutout" it returns correct result.

Device: Pixel 3 with Android 10.

0

There are 0 answers