[CrOS MultiDevice] Clean up ConnectToDeviceOperationBase and add tests.
This CL expands upon [1], which was a quick fix to fix a crash in the M-71 branch. This follow-up CL makes the class more robust by ensuring that if connection priority is updated before a connection attempt is made, the connection will be made with the updated priority when it is performed. Additionally, this CL adds a test for this functionality. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1338322 Change-Id: I9a881c67276c5f571b9119c27d899762b9c5f02f Reviewed-on: https://chromium-review.googlesource.com/c/1340977Reviewed-by:Ryan Hansberry <hansberry@chromium.org> Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#609512}
Showing
Please register or sign in to comment