Merge "Fix bad index usage"

am: 5cfe8a8315

Change-Id: I36807979de4f0f74f9dd3ef6f3b2a60e83346b0f
This commit is contained in:
Jakub Pawlowski
2016-08-04 20:46:32 +00:00
committed by android-build-merger

View File

@@ -133,7 +133,7 @@ public final class BluetoothGattServer implements BluetoothProfile {
List<BluetoothGattDescriptor> temp_descs = temp_char.getDescriptors();
List<BluetoothGattDescriptor> svc_descs = svc_char.getDescriptors();
for (int j=0; j<svc_descs.size(); j++) {
temp_descs.get(i).setInstanceId(svc_descs.get(i).getInstanceId());
temp_descs.get(j).setInstanceId(svc_descs.get(j).getInstanceId());
}
}