Change-Id: I5d4eb8ecaf2bc0b297a978147eee2f6a0f99a0a9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Name: ug-setting-mobileap-efl
Summary: Tethering UI Gadget Library
Name: ug-setting-mobileap-efl
Summary: Tethering UI Gadget Library
Release: 1
Group: App/Network
License: Flora-1.1
Release: 1
Group: App/Network
License: Flora-1.1
- case TETHERING_TYPE_WIFI:
- g_strlcpy(restricted_type, "wifi tethering", MAX_BUF_SIZE - 1);
- break;
- case TETHERING_TYPE_USB:
- g_strlcpy(restricted_type, "usb tethering", MAX_BUF_SIZE - 1);
- break;
- case TETHERING_TYPE_BT:
- g_strlcpy(restricted_type, "bt tethering", MAX_BUF_SIZE - 1);
- break;
- default:
- ERR("Invalid type.\n");
- return;
+ case TETHERING_TYPE_WIFI:
+ g_strlcpy(restricted_type, "wifi tethering", MAX_BUF_SIZE - 1);
+ break;
+ case TETHERING_TYPE_USB:
+ g_strlcpy(restricted_type, "usb tethering", MAX_BUF_SIZE - 1);
+ break;
+ case TETHERING_TYPE_BT:
+ g_strlcpy(restricted_type, "bt tethering", MAX_BUF_SIZE - 1);
+ break;
+ default:
+ ERR("Invalid type.\n");
+ return;
- switch(type) {
- case TETHERING_TYPE_WIFI:
- dpm_restriction_get_wifi_hotspot_state(dpm, &state);
- break;
- case TETHERING_TYPE_USB:
- dpm_restriction_get_usb_tethering_state(dpm, &state);
- break;
- case TETHERING_TYPE_BT:
- dpm_restriction_get_bluetooth_tethering_state(dpm, &state);
- break;
- default:
- break;
+ switch (type) {
+ case TETHERING_TYPE_WIFI:
+ dpm_restriction_get_wifi_hotspot_state(dpm, &state);
+ break;
+ case TETHERING_TYPE_USB:
+ dpm_restriction_get_usb_tethering_state(dpm, &state);
+ break;
+ case TETHERING_TYPE_BT:
+ dpm_restriction_get_bluetooth_tethering_state(dpm, &state);
+ break;
+ default:
+ break;
}
dpm_manager_destroy(dpm);
}
dpm_manager_destroy(dpm);
pos = elm_win_rotation_get(ad->win);
switch (pos) {
pos = elm_win_rotation_get(ad->win);
switch (pos) {
- case 0:
- case 180:
- evas_object_move(ctx, w/2, h);
- break;
- case 90:
- evas_object_move(ctx, h/2, w);
- break;
- case 270:
- evas_object_move(ctx, h/2, w);
- break;
+ case 0:
+ case 180:
+ evas_object_move(ctx, w/2, h);
+ break;
+ case 90:
+ evas_object_move(ctx, h/2, w);
+ break;
+ case 270:
+ evas_object_move(ctx, h/2, w);
+ break;
}
__MOBILE_AP_FUNC_EXIT__;
}
}
__MOBILE_AP_FUNC_EXIT__;
}