crosswalk-project/tizen-extensions-crosswalk — pull request #138 by qjia7 (2013-09-17 02:32:06+00:00)
Title: [SystemInfo] Fixed SIM callback error and type mismatch error

The old design principle was if sim_get_** API's return value didn't equal
SIM_ERROR_NONE, we return an error callback. However, if the SIM status is
not READY, other attributes won't be gotten (sim_get_** won't return SIM_ERROR_NONE). So, here, we only check the sim_get_status API. If the operation fails, the errorcallback will be
triggered. Otherwise, we will always get the attributes value.