add default code for flight mode
[apps/core/preloaded/settings.git] / 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;