0
Files
src/device
Raphael Kubo da Costa 3fcd5f4ed4 BluetoothLowEnergyAdapterApple: Call CBPeripheralManager::init, not initWithDelegate
The initWithDelegate calls are not available on tvOS, watchOS and
visionOS for some reason (the CBCentralManager equivalents are).

Switch to calling init and manually setting the `delegate` property
immediately afterwards; we were already using the main dispatch queue in
the `queue` parameter anyway, so this should not have any visible
side-effect.

Bug: 391914246
Change-Id: Ic5d023bb96cfe3ba83dcc9d08c84f8ef5250e87a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6312737
Commit-Queue: Raphael Kubo da Costa <kubo@igalia.com>
Reviewed-by: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1426624}
2025-02-28 16:21:15 -08:00
..
2025-02-25 11:43:49 -08:00
2025-02-06 19:26:53 -08:00