Clean up codes, fix long lines, improve readability, etc

Update copyright date, remove unused variable, import

Change-Id: I731c48c8e5b16cbee5230f1d02109f249b8bab5d
This commit is contained in:
Matthew Xie
2012-06-28 18:41:54 -07:00
parent 744ef74d37
commit b5f144af8e
6 changed files with 26 additions and 22 deletions

View File

@@ -196,7 +196,8 @@ final class A2dpProfile implements LocalBluetoothProfile {
if (V) Log.d(TAG, "finalize()");
if (mService != null) {
try {
BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP, mService);
BluetoothAdapter.getDefaultAdapter().closeProfileProxy(BluetoothProfile.A2DP,
mService);
mService = null;
}catch (Throwable t) {
Log.w(TAG, "Error cleaning up A2DP proxy", t);