commit | dc890d9d7db70ee2c69241c8c312b259489fb34e | [log] [tgz] |
---|---|---|
author | Jorge Gil <jorgegil@google.com> | Sat Jan 27 04:02:26 2024 +0000 |
committer | Jorge Gil <jorgegil@google.com> | Sat Jan 27 04:05:51 2024 +0000 |
tree | 43708a5f47447cc5c2ea12c764e8212d8d1e1bf3 | |
parent | 6561d91ebd2376fbd822d75f939c7f7d203bbec0 [diff] |
Fix NPE when referencing DragResizeInputListener Some window decorations may have a null DragResizeInputListener (for example, if the task is unresizable). Check for null before calling isHandlingDragResize() when handling motion events. Bug: 322571436 Test: drag-resize an unresizable freeform app, verify no NPE. Change-Id: Idcd176df9fd9eb974635e87d89befbd4ef62ff44