- Emulator does not support mtp, rndis, and so on.
And sdbd should not be stopped in emulator.
Thus all operation start/stop routine need to be skipped
with emulator environtment.
Change-Id: Ia23842a880f7c4e2ca529929b28040780ce48b8d
Signed-off-by: taeyoung <ty317.kim@samsung.com>
int usb_operation_start(unsigned int mode)
{
+ if (is_emulator())
+ return 0;
return usb_execute_operation(mode, OPERATION_START);
}
int usb_operation_stop(unsigned int mode)
{
+ if (is_emulator())
+ return 0;
return usb_execute_operation(mode, OPERATION_STOP);
}