request updating status in lifecycle change to amd. 24/46624/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150826.065951 accepted/tizen/tv/20150826.070056 accepted/tizen/wearable/20150826.070329 submit/tizen/20150826.040557 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
authorJiwoong Im <jiwoong.im@samsung.com>
Mon, 24 Aug 2015 07:41:04 +0000 (16:41 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Mon, 24 Aug 2015 07:41:04 +0000 (16:41 +0900)
Change-Id: I2d72b6e1b471c0023937f5d8f914f411f6c54844
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
src/appcore-efl.c

index cffd294..071dc8f 100644 (file)
@@ -260,6 +260,7 @@ static void __do_app(enum app_event event, void *data, bundle * b)
        if (event == AE_TERMINATE) {
                _DBG("[APP %d] TERMINATE", _pid);
                elm_exit();
+               aul_status_update(STATUS_DYING);
                return;
        }
 
@@ -315,6 +316,7 @@ static void __do_app(enum app_event event, void *data, bundle * b)
                }
                /* TODO : rotation stop */
                //r = appcore_pause_rotation_cb();
+               aul_status_update(STATUS_BG);
                _send_to_resourced(PROC_STATUS_BACKGRD);
                break;
        case AE_RESUME:
@@ -342,6 +344,7 @@ static void __do_app(enum app_event event, void *data, bundle * b)
                    ui->name);
                LOG(LOG_DEBUG, "LAUNCH", "[%s:Application:Launching:done]",
                    ui->name);
+               aul_status_update(STATUS_VISIBLE);
                _send_to_resourced(PROC_STATUS_FOREGRD);
                break;
        case AE_TERMINATE_BGAPP: