add default code for flight mode
authorHyejin Kim <hyejin0906.kim@samsung.com>
Mon, 4 Feb 2013 10:38:05 +0000 (19:38 +0900)
committerHyejin Kim <hyejin0906.kim@samsung.com>
Mon, 4 Feb 2013 11:02:39 +0000 (20:02 +0900)
Change-Id: Ib4a804e0b5199e812c4bc4e680b35558d9e8f457

src/setting-main.c

index 6714bcd..61f31f4 100755 (executable)
@@ -1703,6 +1703,10 @@ static void setting_main_tapi_event_cb(TapiHandle *handle, int result, void *dat
                break;
        default:
                /* do nothing */
+               SETTING_TRACE_DEBUG("default");
+               if(ad->data_flight)
+                       setting_set_bool_slp_key(BOOL_SLP_SETTING_FLIGHT_MODE,
+                                        ad->data_flight->chk_status, &err);
                break;
        }
        return;