[Nearby] Fixed dropped transfer updates while sending
Fixes an issue where the foreground surface was getting unregistered when the user leaves the discovery page due to a mojo disconnect handler getting invoked. We remove the disconnect handler here so the surface stays registered as long as the webui is up so it can receive transfer status updates while the confirm page is being show. When the webui is close, the surface will unregistered itself from the destructor anyways. Change-Id: Ib9890ae996a21fffab42c940eb688db4709f1ccf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2412937Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Commit-Queue: James Vecore <vecore@google.com> Cr-Commit-Position: refs/heads/master@{#808047}
Showing
Please register or sign in to comment