Merge "Check whether Bluetooth is enabled before making any API calls." into gingerbread