Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a55e044b authored by Ikram Gabiyev's avatar Ikram Gabiyev
Browse files

Add null check for cutouts on display change

DisplayLayout#getDisplayCutout() is @Nullable
so we should have a null check before potentially
preventing stashing upon display change based
on the cutout information.

The original cutout check was introduced by ag/35066396

Bug: 441665422
Flag: EXEMPT bugfix
Test: rotate PiP on a display w/o cutouts
Change-Id: I1a0b6e87bc27252b9dc5f1eb4f0320a467973d1a
parent 5e2265a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment