commit | cd8958e685c82612060eed08eb53ebffced152ed | [log] [tgz] |
---|---|---|
author | Issei Suzuki <issei@google.com> | Thu Dec 01 12:58:29 2022 +0000 |
committer | Issei Suzuki <issei@google.com> | Mon Dec 05 14:32:18 2022 +0000 |
tree | 5cab8a7f1360e0bbed1b781c780337496e60952c | |
parent | 2b46e4671b82f4d3fd90e62fcfa6d2d9a2b59eed [diff] |
Fix WM shell crash when targets belong to a different display. When showWhenLocked activity is launched on a second display, it's possible that a window container for a wallpaper on the default display and the showWhenLocked activity on the second display are both collected for app transition. This is a workaround to prevent NPE for such cases. Bug: 260997053 Test: atest MultiDisplayLockedKeyguardTests Change-Id: I9dbd0928aa785a6d547b8e19841748280ba982c9