diff options
author | Jake Hamby <jhamby@google.com> | 2010-12-09 14:47:57 -0800 |
---|---|---|
committer | Jaikumar Ganesh <jaikumar@google.com> | 2011-02-24 16:26:20 -0800 |
commit | 9a62c9cd6585656f4e29ba971b1f88a510d674bd (patch) | |
tree | 59a53987458c799b35d14b3ed693879cc81aa9a7 /core/java/android/webkit/WebView.java | |
parent | 5936245654f8d361a983b4f72bd7ea10e1a8c756 (diff) | |
download | frameworks_base-9a62c9cd6585656f4e29ba971b1f88a510d674bd.zip frameworks_base-9a62c9cd6585656f4e29ba971b1f88a510d674bd.tar.gz frameworks_base-9a62c9cd6585656f4e29ba971b1f88a510d674bd.tar.bz2 |
Refactor android.server.BluetoothService classes.
Several cleanups to BluetoothService:
- Move BluetoothService.BondState inner class to top level.
- Extract adapter and remote device properties cache management
logic into two new classes: BluetoothAdapterProperties and
BluetoothDeviceProperties.
- Add getter methods for other classes in the package to access
the new properties cache objects for multi-part operations.
- Inline log() method in BluetoothService and selected the
appropriate Log method (Log.d, Log.w, Log.e) for each message.
- Refactor dump() method into smaller sized pieces.
- Clean up logic of updateCountersAndCheckForConnectionStateChange()
method for better readability.
- Change sendConnectionStateChange() to return instead of sending
an intent if the current or previous state values are invalid.
Previously the code sent an intent with -1 for the invalid state.
- Added Javadoc comments to document the methods that are called from
native Bluez code.
- Fixed some typos and code style issues.
Original Change by: Jake Hamby
Modified by: Jaikumar Ganesh
Change-Id: I76ebac00ecd29566dcb2d1ad3e7a486b7530ce24
Diffstat (limited to 'core/java/android/webkit/WebView.java')
0 files changed, 0 insertions, 0 deletions