String buildDate;
JSONObject result = new JSONObject();
buildDate = SystemProperties.get(BUILD_DATE_UTC_PROPERTY);
try {
result.put("buildDate", buildDate);
<BUG>sendBroadcast(Constants.Operation.GET_FIRMWARE_BUILD_DATE, Constants.Status.SUCCESSFUL,
</BUG>
result.toString());
} catch (JSONException e) {
<BUG>Log.e(TAG, "Failed to create JSON object when publishing OTA progress.");

sendBroadcast(Constants.Operation.GET_FIRMWARE_BUILD_DATE, Constants.Status.SUCCESSFUL,
String.valueOf(DEFAULT_STATE_INFO_CODE));</BUG>
}

String buildDate;
JSONObject result = new JSONObject();
buildDate = SystemProperties.get(BUILD_DATE_UTC_PROPERTY);
try {
result.put("buildDate", buildDate);
CommonUtils.sendBroadcast(context, Constants.Operation.GET_FIRMWARE_BUILD_DATE, Constants.Code.SUCCESS, Constants.Status.SUCCESSFUL,
result.toString());
} catch (JSONException e) {
String error = "Failed to create JSON object when publishing OTA progress.";
Log.e(TAG, error, e);
CommonUtils.sendBroadcast(context, Constants.Operation.GET_FIRMWARE_BUILD_DATE, Constants.Code.FAILURE, Constants.Status.INTERNAL_ERROR,
String.valueOf(DEFAULT_STATE_INFO_CODE));
