Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c672f49c authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Andre Eisenbach
Browse files

Fix bad index usage

Bug: 27999121
Change-Id: Ie2ba6f71bbf6f789a3c1016ba2f0051b809ac87e
parent 1360a328
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
                    }
                }