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

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

Add log and return if invalid leash onThemeChange

We are seeing reports on PipTransitionState#isInPip()
being bypassed onThemeChanged() despite the state=undefined
with getPinnedTaskLeash returning null, causing an NPE when
applying box shadows.

As a preliminary measure, we are adding a wtflog and returning
early to avoid crashes and to detect future cases during real time
usage.

Bug: 433316431
FLAG: EXEMPT bugfix
Test: N/A
Change-Id: I48273bb6eb87435fe6539f1b23398cc5fb43ef13
parent 758f4dc9
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