use of net.osmand.aidlapi.customization.AProfile in project Osmand by osmandapp.
the class OsmandAidlApi method getProfiles.
public boolean getProfiles(List<AProfile> profiles) {
for (ApplicationMode mode : ApplicationMode.allPossibleValues()) {
ApplicationModeBean bean = mode.toModeBean();
AProfile aProfile = new AProfile(bean.stringKey, bean.userProfileName, bean.parent, bean.iconName, bean.iconColor.name(), bean.routingProfile, bean.routeService.name(), bean.locIcon.name(), bean.navIcon.name(), bean.order);
aProfile.setVersion(bean.version);
profiles.add(aProfile);
}
return true;
}
Aggregations