summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothClass.java
diff options
context:
space:
mode:
authorNick Pelly <npelly@google.com>2009-09-08 17:40:43 -0700
committerNick Pelly <npelly@google.com>2009-09-09 10:52:18 -0700
commit8a1cd0cdce892a6bd25bc7292007fe0220b3ae10 (patch)
treef97f1762f160fe595ae28af9079e7d92cd7ef31f /framework/java/android/bluetooth/BluetoothClass.java
parent7482a80ce3d46f9991302cc464bc6a9e5a317451 (diff)
API_CHANGE
Deprecate BluetoothError.java. I spent a lot of time experimenting with a class BluetoothError to enumerate the many error codes returned by the Bluetooth API. But at the end of the day they were never used. The vast majority of method calls only really need a true/false error value, and often not even that. Methods which do need more detailed error enumeration (for example, bonding failures) can have there own enumerated error codes. But there is no need for a common set of error codes. Also change the IPC failed warnings in BluetoothA2dp to Log.e. These indicate a very serious error. Introduce BluetoothAdapter.ERROR and BluetoothDevice.ERROR as helper sentinel values.
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothClass.java')
0 files changed, 0 insertions, 0 deletions