Skip to content

Commit

Permalink
Merge pull request #333 from OpenSRP/332-add-native-radio-human-reada…
Browse files Browse the repository at this point in the history
…ble-values

Add native radio human readable values
  • Loading branch information
allan-on authored Sep 19, 2019
2 parents a6eae15 + acff22e commit bbd0fdd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.7.21-SNAPSHOT
VERSION_NAME=1.7.22-SNAPSHOT
VERSION_CODE=1
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Core Application
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
import java.util.Map;
import java.util.UUID;

import timber.log.Timber;

/**
* Created by keyman on 08/02/2017.
*/
Expand Down Expand Up @@ -435,10 +437,13 @@ private static void createObservation(Event e, JSONObject jsonObject, String val
entityIdVal = getString(jsonObject, OPENMRS_ENTITY_ID);
entityParentVal = "";
vall.add(option.getString(OPENMRS_ENTITY_ID));
if (option.has(KEY)) {
humanReadableValues.add(option.getString(KEY));
}
}
}
} catch (JSONException e1) {
Log.e(TAG, e1.getMessage());
Timber.e("%s : %s",TAG , e1.getMessage());
}
} else {
if (values != null && values.length() > 0) {
Expand Down

0 comments on commit bbd0fdd

Please sign in to comment.