crosswalk-project/tizen-extensions-crosswalk — pull request #229 by vcgomes (2013-11-08 22:48:41+00:00)
Title: [Bluetooth] Only reply Adapter.getDefaultAdapter() when adapter is ready

We call ready, when the adapter is in a known state, whether it is ready and
we were able to get all its properties, or we couldn't obtain it (bluetoothd is
not running or the adapter path is not available).

The idea here, is that we should only send the reply to getDefaultAdapter() after we know the state of the adapter, so we delay that response those known points.