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

Skip to content
Commit 7847bc0c authored by Jorge Gil's avatar Jorge Gil
Browse files

Use decor's TaskInfo instead of ShellTaskOrganizer's

When moving a task to front or doing an operation initiated from the
decoration, use the task info contained in the decoration instead of
trying to obtain it from ShellTaskOrganizer, which may produce a NPE.
This is a speculative fix to prevent the crash, but it should not be
possible for the decoration to exists and be handling input events if
the task has vanished and no longer cached by the organizer.

Bug: 319443130
Test: tap header to front, double-tap to resize and other header actions
work as expected.

Change-Id: Ia517ab47e79c5e80d9e6de3f310d8cc14b880649
parent 8652ad6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment