commit | 45dc5fd65ddbbf060ab676437d445beb60ee2af1 | [log] [tgz] |
---|---|---|
author | Massimo Carli <mcarli@google.com> | Wed May 31 14:58:52 2023 +0000 |
committer | Massimo Carli <mcarli@google.com> | Fri Jun 02 12:15:42 2023 +0000 |
tree | 9ada49545aa324e7065c3466298624b0a4a4580c | |
parent | 4af5694eb082bdd10789bcb78063e2b29db12344 [diff] |
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