mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1072954 - Iterate entire list in RemoteClientsDialogFragment onClick. r=trivial
This commit is contained in:
parent
e9cb23ad56
commit
1470f2cdcb
@ -102,7 +102,7 @@ public class RemoteClientsDialogFragment extends DialogFragment {
|
||||
final AlertDialog dialog = (AlertDialog) dialogInterface;
|
||||
final SparseBooleanArray checkedItemPositions = dialog.getListView().getCheckedItemPositions();
|
||||
final ArrayList<RemoteClient> checked = new ArrayList<RemoteClient>();
|
||||
for (int i = 0; i < checkedItemPositions.size(); i++) {
|
||||
for (int i = 0; i < clients.size(); i++) {
|
||||
if (checkedItemPositions.get(i)) {
|
||||
checked.add(clients.get(i));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user