+ private void onProfileRowClicked(View v) {
+ if (editingProfiles.get()) return;
+ MobileLedgerProfile profile = (MobileLedgerProfile) v.getTag();
+ if (profile == null)
+ throw new IllegalStateException("Profile row without associated profile");
+ debug("profiles", "Setting profile to " + profile.getName());
+ Data.setCurrentProfile(profile);
+ }