commit | 1cd1c555c26779cb6558f53f6cd19bedfb626849 | [log] [tgz] |
---|---|---|
author | Mark Renouf <mrenouf@google.com> | Wed Apr 14 16:30:17 2021 -0400 |
committer | Mark Renouf <mrenouf@google.com> | Thu Apr 15 13:31:48 2021 -0400 |
tree | 4d08e7bea84d0871c1dd447961b891722cd3d4df | |
parent | 41f4544e59c2860682f4557baefaa6d21e8f3615 [diff] |
ScrollCaptureConnection: fix npe on close() when active A reference to the callback was being removed while still needed. Instead use a local copy for posted callback. Bug: 12345678 Test: atest ScrollCaptureConnectionTest#testCloseWhileActive Change-Id: I3a11ac86a8c291972f442ebce962ba8a3a1ddee6