[bluetooth] Fix BluetoothTest.ConstructDefaultAdapter on macOS
This test became flaky on macOS after r763057 because the code to initialize the adapter when calling BluetoothTest::WithDefaultAdapter() was accidentally removed on macOS. This patch restores this logic, copying what is done on other platforms. Bug: 1076005 Change-Id: If709274183b668022d55c69f8b9d2a09a9c7dd1a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2171442 Auto-Submit: Reilly Grant <reillyg@chromium.org> Reviewed-by:Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#763587}
Showing
Please register or sign in to comment