Calling the callback function is removed. Because, the registration event
is not supported.
Change-Id: Ic84b7a8998552f7a30c2bdf13f68e861dd1b1c4a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
}
void AppCoreBase::Impl::OnTimeZoneChangedCb(keynode_t* key, void* data) {
+ _W("TimeZoneChanged");
tzset();
- char* time_zone_id = vconf_keynode_get_str(key);
- if (time_zone_id == nullptr) {
- return;
- }
-
- char* time_zone = vconf_get_str(VCONFKEY_SETAPPL_TIMEZONE_INT);
- if (time_zone != nullptr) {
- AppCoreBase* base = reinterpret_cast<AppCoreBase*>(data);
- base->impl_->InvokeCallback(std::string(time_zone) + "|" + time_zone_id,
- IEvent::Type::TIME_ZONE_CHANGED);
- free(time_zone);
- }
}
void AppCoreBase::Impl::UnregisterRotationChangedEvent() {