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

Commit 49c076af authored by Merissa Mitchell's avatar Merissa Mitchell
Browse files

Don't handle touch event if WindowDecoration is null

When an app crashes while dragging the window, handling the
ACTION_CANCEL touch event will cause a crash due to the WindowDecoration
being null. We should really bypass the touch handling if there is no
WindowDecoration in onTouch.

Bug: 409313582
Test: atest DesktopModeWindowDecorViewModelTests
Flag: EXEMPT bugfix
Change-Id: I71718ce00a43de9308eeaf77e6623d131640e81b
parent 5210ef7e
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