Skip to content
Commit 45dc5fd6 authored by Massimo Carli's avatar Massimo Carli
Browse files

Fix NPE on TaskFragment

We need to deregister the WindowContainerListener at an
earlier stage to avoid a translucent activity to have a
reference to an opaque one without a parent TaskFragment
which causes getTaskFragment() to return null.

Fixes: 278899220
Test: atest WmTests:SizeCompatTests

Change-Id: I06bef5f386cffdc7e89e7e39bd33b1eb3c0ff6b8
parent 4af5694e
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