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

Skip to content
Commit 85853292 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Null check before access display cutout

In the gesture pointer event listener, check the existence of display
before accessing the display cutout. When the system server crashes, the
display could become null. Accessing it will cause NPE and will
interrupt the system server restart and causing the entire device
crashes and reboot.

Test: build
Bug: 354298618
Flag: EXEMPT bugfix
Change-Id: I5444a24ba3d77d3018bc8864c2f72e7c19809962
parent ddfdfdd2
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