diff options
-rw-r--r-- | crash-popup/src/crash-popup.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crash-popup/src/crash-popup.c b/crash-popup/src/crash-popup.c index 1ac24d5..e169849 100644 --- a/crash-popup/src/crash-popup.c +++ b/crash-popup/src/crash-popup.c @@ -248,6 +248,7 @@ static int app_resume(void *data) static int app_reset(bundle *b, void *data) { struct appdata *ad = data; + int ret, state; /* appcore measure time example */ _D("from AUL to %s(): %d msec\n", __func__, @@ -256,6 +257,15 @@ static int app_reset(bundle *b, void *data) appcore_measure_time()); if (ad->win) elm_win_activate(ad->win); + + ret = appcore_get_rotation_state(&state); + if (ret == 0) { + _D("rotate state: %d", state); + ret = rotate(state, ad); + if (ret != 0) + _E("FAIL: rotate()"); + } + return 0; } int main(int argc, char *argv[]) |