Name: app-core
Summary: Application basic
Version: 1.2
-Release: 47
+Release: 48
Group: Application Framework
License: Apache License, Version 2.0
Source0: app-core-%{version}.tar.gz
return rot.wm_rotate->resume_rotation_cb();
}
else {
- int r;
+ int r,ret;
enum appcore_rm m;
_retv_if(rot.callback == NULL, 0);
if (r < 0) {
_ERR("sf_start in appcore_internal_sf_start failed: %d",
r);
- sf_unregister_event(rot.handle,
+ ret = sf_unregister_event(rot.handle,
ACCELEROMETER_EVENT_ROTATION_CHECK);
+ if (ret < 0)
+ _ERR("sf_unregister_event failed: %d", ret);
rot.cb_set = 0;
return -1;
}