Merge "fixed parsing issue in BluetoothService so that it parses the UUID property correctly" into gingerbread

This commit is contained in:
Danica Chang
2010-07-19 13:47:50 -07:00
committed by Android (Google) Code Review

View File

@@ -919,7 +919,7 @@ public class BluetoothService extends IBluetooth.Stub {
Log.e(TAG, "Error:Adapter Property at index" + i + "is null"); Log.e(TAG, "Error:Adapter Property at index" + i + "is null");
continue; continue;
} }
if (name.equals("Devices")) { if (name.equals("Devices") || name.equals("UUIDs")) {
StringBuilder str = new StringBuilder(); StringBuilder str = new StringBuilder();
len = Integer.valueOf(properties[++i]); len = Integer.valueOf(properties[++i]);
for (int j = 0; j < len; j++) { for (int j = 0; j < len; j++) {