commit | f5ff170be1f6b28758f125e50524f43f9d6ec684 | [log] [tgz] |
---|---|---|
author | Jaikumar Ganesh <jaikumar@google.com> | Fri Aug 06 19:03:13 2010 -0700 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Mon Aug 09 13:49:40 2010 -0700 |
tree | 3a6124aff4e17c0d847a555843f41af731900d3e | |
parent | 6eb300e650a0e3ca0e802203e1718ab5abbb7ce9 [diff] |
Check whether Bluetooth is enabled before making any API calls. For example, Settings app makes calls to get Bonded Devices before Bluetooth is on. This leads to ANRs and will prevent autoconnection. Change-Id: I56748a9bd1d603b5782c17775c6b20b831bf6572