Merge "Fix flakiness when BluetoothDevice is not initialized" into main