mozilla-b2g/gaia — pull request #8174 by tdz (2013-02-18 15:57:31+00:00)
Title: Bug 840943: Display correct status for connected Bluetooth devices

The Bluetooth UI sometimes gets confused about the connection status
of a device, if user repeatedly taps the connect button. The button
then displays 'Connecting...' even though phone and Bluetooth device
are already connected. With this patch, the interface tests the
device's 'connected' attribute when setting the displayed string.

Signed-off-by: Thomas Zimmermann