- if (profileUUID != null) {
- int i = 0;
- for (MobileLedgerProfile p : Data.profiles.getList()) {
- if (p.getUuid().equals(profileUUID)) {
- Log.d("profiles", String.format("found profile %s at %d", profileUUID, i));
- profile = p;
- break;
- }
- i++;
- }