Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
static pid_t _pid;
static bool resource_reclaiming = TRUE;
+static int tmp_val = 0;
+
struct ui_priv {
const char *name;
case AE_RESUME:
LOG(LOG_DEBUG, "LAUNCH", "[%s:Application:resume:start]",
ui->name);
- if (ui->state == AS_PAUSED) {
+ if (ui->state == AS_PAUSED || tmp_val == 1) {
_DBG("[APP %d] RESUME", _pid);
if (ui->ops->resume)
r = ui->ops->resume(ui->ops->data);
ui->state = AS_RUNNING;
+ tmp_val = 0;
}
/*TODO : rotation start*/
//r = appcore_resume_rotation_cb();
{
priv.state = state;
+ tmp_val = 1;
+
return 0;
}