commit | fec86f4aa2de9c89d6c0aea6128be77eb67417d1 | [log] [tgz] |
---|---|---|
author | Jaikumar Ganesh <jaikumar@google.com> | Mon Aug 09 16:54:03 2010 -0700 |
committer | Jaikumar Ganesh <jaikumar@google.com> | Mon Aug 09 17:01:21 2010 -0700 |
tree | eb3dc5949aab5a893cf7726953d994d40ff8d3f5 | |
parent | 66edf558a9041eb0b1a7fc0459db1bdafcfca84b [diff] |
Update javadoc for the API and change return of getBondedDevices(). getBondedDevices() *might* work if called before the Bluetooth State intent is broadcasted. However, this can cause ANRs and problems. This API was updated to return null, if called before the intent is received. However, this might cause existing apps to crash. Return an empty set instead. Change-Id: Ibc484d3394aa0bbebd651221efde6a7015ce7110